compat: correct MacOS.prefer_64_bit? deprecation

This commit is contained in:
Jonathan Chang 2019-01-09 18:07:16 -05:00
parent b16e9c8864
commit 85b65e977e

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