module OS

Public Class Methods

windows?() click to toggle source
# File lib/chef/knife/softlayer_base.rb, line 109
def OS.windows?
  (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
end