Module: TomatoHarvest::OS

Defined in:
lib/tomatoharvest/os.rb

Class Method Summary collapse

Class Method Details

.mac?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/tomatoharvest/os.rb', line 7

def mac?
  (/mac|darwin/ =~ RbConfig::CONFIG['host_os']) != nil
end