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,8 +1,7 @@
module OS
module Mac
class << self
module Compat
module_function
def prefer_64_bit?
odeprecated("MacOS.prefer_64_bit?")
Hardware::CPU.is_64_bit?
@ -12,3 +11,4 @@ module OS
prepend Compat
end
end
end