Module: Capsaicin::LocalSys

Defined in:
lib/capsaicin/sys.rb

Instance Method Summary collapse

Instance Method Details

#windows?Boolean

Returns:

  • (Boolean)

4
5
6
# File 'lib/capsaicin/sys.rb', line 4

def windows?
  @windows ||= !! (RUBY_PLATFORM =~ /cygwin|mingw|win32|mswin|windows/)
end