Merge pull request #5519 from jonchang/fix-prefer-64-bit

compat: correct MacOS.prefer_64_bit? deprecation
This commit is contained in:
Jonathan Chang 2019-01-09 16:01:25 -08:00 committed by GitHub
commit 241ee989bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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