Sha256: 71b663dec4528bd9956360418ac693e2cafa928020d335902cf318f4c6952ed9
Contents?: true
Size: 548 Bytes
Versions: 11
Compression:
Stored size: 548 Bytes
Contents
# Detect the platform we're running on so we can tweak behaviour # in various places. require 'rbconfig' module Cucumber unless defined?(Cucumber::VERSION) JRUBY = defined?(JRUBY_VERSION) IRONRUBY = defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby" WINDOWS = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ OS_X = RbConfig::CONFIG['host_os'] =~ /darwin/ WINDOWS_MRI = WINDOWS && !JRUBY && !IRONRUBY RUBY_2_0 = RUBY_VERSION =~ /^2\.0/ RUBY_1_9 = RUBY_VERSION =~ /^1\.9/ end end
Version data entries
11 entries across 11 versions & 1 rubygems