Define "snow_leopard_64?"

snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Adam Vandenberg 2010-08-07 21:04:37 -07:00
parent 1146eec3bf
commit 1e5b23f2db

View File

@ -69,3 +69,7 @@ protected
$?.success? && result == 1 # sysctl call succeded and printed 1
end
end
def snow_leopard_64?
MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
end