module CoreExtensions::OperatingSystem

Public Instance Methods

human_name() click to toggle source
# File lib/u3d_core/core_ext/operating_system_symbol.rb, line 25
def human_name
  return 'Windows' if self == :win
  return 'Mac OSX' if self == :mac
  return 'Linux' if self == :linux
  raise "Not a known operating system symbol #{self}"
end