class Rubyfuu::OS

Public Class Methods

host_os() click to toggle source
# File lib/rubyfuu/os.rb, line 5
def self.host_os
  RbConfig::CONFIG['host_os']
end
linux?() click to toggle source
# File lib/rubyfuu/os.rb, line 13
def self.linux?
  host_os =~ /linux/
end
osx?() click to toggle source
# File lib/rubyfuu/os.rb, line 9
def self.osx?
  host_os =~ /darwin/
end