Sha256: 86d92097af273ead39bb48b6cedc449a507dd7d90fd342e8e0d7bf44a16eb2cf

Contents?: true

Size: 410 Bytes

Versions: 2

Compression:

Stored size: 410 Bytes

Contents

# Detect the platform we're running on so we can tweak behaviour
# in various places.
require 'rbconfig'

$CUCUMBER_JRUBY       = defined?(JRUBY_VERSION)
$CUCUMBER_IRONRUBY    = Config::CONFIG['sitedir'] =~ /IronRuby/
$CUCUMBER_WINDOWS     = Config::CONFIG['host_os'] =~ /mswin|mingw/
$CUCUMBER_WINDOWS_MRI = $CUCUMBER_WINDOWS && !$CUCUMBER_JRUBY && !$CUCUMBER_IRONRUBY
$CUCUMBER_RAILS       = defined?(Rails)

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
aslakhellesoy-cucumber-0.1.12 lib/cucumber/platform.rb
cucumber-0.1.12 lib/cucumber/platform.rb