Sha256: 0033c6868fbbb7436b872455e43cc085257e2dd2c4d17849a87d94d9b0636960

Contents?: true

Size: 578 Bytes

Versions: 31

Compression:

Stored size: 578 Bytes

Contents

# frozen_string_literal: true
# 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

31 entries across 31 versions & 4 rubygems

Version Path
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/cucumber-core-12.0.0/lib/cucumber/core/platform.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/cucumber-core-11.1.0/lib/cucumber/core/platform.rb
cucumber-core-12.0.0 lib/cucumber/core/platform.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/platform.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/platform.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/platform.rb
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/platform.rb
cucumber-core-11.1.0 lib/cucumber/core/platform.rb
cucumber-core-11.0.0 lib/cucumber/core/platform.rb
cucumber-core-10.1.1 lib/cucumber/core/platform.rb
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/cucumber-core-10.1.0/lib/cucumber/core/platform.rb
cucumber-core-10.1.0 lib/cucumber/core/platform.rb
cucumber-core-10.0.1 lib/cucumber/core/platform.rb
cucumber-core-10.0.0 lib/cucumber/core/platform.rb
cucumber-core-9.0.1 lib/cucumber/core/platform.rb
cucumber-core-9.0.0 lib/cucumber/core/platform.rb
cucumber-core-8.0.1 lib/cucumber/core/platform.rb
cucumber-core-7.1.0 lib/cucumber/core/platform.rb
cucumber-core-7.0.0 lib/cucumber/core/platform.rb
cucumber-core-6.0.0 lib/cucumber/core/platform.rb