class Picobox::Os::CurrentOs
Public Class Methods
get()
click to toggle source
# File lib/picobox/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