Module: SassC::Util

Extended by:
Util
Included in:
Util
Defined in:
lib/sassc/util.rb

Overview

# A module containing various useful functions.

Instance Method Summary collapse

Instance Method Details

#windows?Boolean

Whether or not this is running on Windows.

Returns:

  • (Boolean)


11
12
13
14
# File 'lib/sassc/util.rb', line 11

def windows?
  return @windows if defined?(@windows)
  @windows = RbConfig::CONFIG['host_os'].match?(/mswin|windows|mingw/i)
end