Module: Bootlace::OS
Instance Method Summary collapse
Instance Method Details
#os ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/bootlace/os.rb', line 3 def os if RUBY_PLATFORM.downcase.include? 'darwin' :mac elsif RUBY_PLATFORM.downcase.include? "linux" fetch_distribution else :unsupported end end |