# File lib/command.rb, line 15 def OS.linux? OS.unix? and not OS.mac? end
# File lib/command.rb, line 7 def OS.mac? (/darwin/ =~ RUBY_PLATFORM) != nil end
# File lib/command.rb, line 11 def OS.unix? !OS.Windows? end
# File lib/command.rb, line 3 def OS.windows? (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil end