Sha256: 29b640ed6763e238accd9605adf86557c7a05703b3dd757c74b0f2efea690c1d

Contents?: true

Size: 507 Bytes

Versions: 6

Compression:

Stored size: 507 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)
$CUCUMBER_RUBY        = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
aslakhellesoy-cucumber-0.1.13.2 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.13 lib/cucumber/platform.rb
bts-cucumber-0.1.13.1 lib/cucumber/platform.rb
bts-cucumber-0.1.13.2 lib/cucumber/platform.rb
bts-cucumber-0.1.13.3 lib/cucumber/platform.rb
cucumber-0.1.13 lib/cucumber/platform.rb