acceptance/ruby/support/extensions.rb
# Whether we're running on Windows

Whether we're running on Windows
Whether we ' re running on Windows
def isWindows()
    require 'rbconfig'
    return (RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/)
end
def isWindows ( ) require 'rbconfig' return ( RbConfig :: CONFIG [ 'host_os' ] =~ / mswin|mingw|cygwin / ) end
Whether we're running on Windows
Whether we ' re running on Windows
# See: http://stackoverflow.com/questions/4871309
