class Pixiebox::Os::CurrentOs
Public Class Methods
get()
click to toggle source
# File lib/pixiebox/os/current_os.rb, line 5 def get os = TTY::Platform.new.os case os when 'darwin' then Darwin when 'linux' then Linux else UnsupportedOs end end