compat: correct MacOS.prefer_64_bit? deprecation
This commit is contained in:
parent
b16e9c8864
commit
85b65e977e
@ -1,14 +1,14 @@
|
||||
module OS
|
||||
module Mac
|
||||
module Compat
|
||||
module_function
|
||||
|
||||
def prefer_64_bit?
|
||||
odeprecated("MacOS.prefer_64_bit?")
|
||||
Hardware::CPU.is_64_bit?
|
||||
class << self
|
||||
module Compat
|
||||
def prefer_64_bit?
|
||||
odeprecated("MacOS.prefer_64_bit?")
|
||||
Hardware::CPU.is_64_bit?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
prepend Compat
|
||||
prepend Compat
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user