Merge pull request #5519 from jonchang/fix-prefer-64-bit
compat: correct MacOS.prefer_64_bit? deprecation
This commit is contained in:
commit
241ee989bb
@ -1,14 +1,14 @@
|
|||||||
module OS
|
module OS
|
||||||
module Mac
|
module Mac
|
||||||
module Compat
|
class << self
|
||||||
module_function
|
module Compat
|
||||||
|
def prefer_64_bit?
|
||||||
def prefer_64_bit?
|
odeprecated("MacOS.prefer_64_bit?")
|
||||||
odeprecated("MacOS.prefer_64_bit?")
|
Hardware::CPU.is_64_bit?
|
||||||
Hardware::CPU.is_64_bit?
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
prepend Compat
|
prepend Compat
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user