Module: RocketFuel::SystemDetails

Defined in:
lib/rocket_fuel/system_details.rb

Constant Summary collapse

SUPPORTED_OSX_MINORS =
['10.10', '10.9', '10.8', '10.7']

Class Method Summary collapse

Class Method Details

.osObject



12
13
14
# File 'lib/rocket_fuel/system_details.rb', line 12

def os
  @os ||= RocketFuel::OperatingSystem.new
end

.os_versionObject



8
9
10
# File 'lib/rocket_fuel/system_details.rb', line 8

def os_version
  os.version
end

.platform_family?(platform) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/rocket_fuel/system_details.rb', line 16

def platform_family?(platform)
  os.platform_family?(platform)
end