Module: Vnehm::OS

Defined in:
lib/vnehm/os.rb

Overview

OS module returns information about OS on this computer

Class Method Summary collapse

Class Method Details

.mac?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/vnehm/os.rb', line 9

def self.mac?
  RbConfig::CONFIG['host_os'] =~ /darwin|mac os/ ? true : false
end