module RSpec::Support::OS
@api private
Provides query methods for different OS
or OS
features.
Public Instance Methods
# File rspec-support/lib/rspec/support/ruby_features.rb, line 14 def windows? !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/) end
# File rspec-support/lib/rspec/support/ruby_features.rb, line 18 def windows_file_path? ::File::ALT_SEPARATOR == '\\' end