Sha256: 48298d6f10f35988d1d47df5b919c268e876e365ffc46e3390ad2dca97d0fd40

Contents?: true

Size: 765 Bytes

Versions: 25

Compression:

Stored size: 765 Bytes

Contents

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

module Cucumber
  LANGUAGE_FILE = File.expand_path(File.dirname(__FILE__) + '/languages.yml')
  LANGUAGES     = YAML.load_file(LANGUAGE_FILE)
  BINARY        = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
  JRUBY         = defined?(JRUBY_VERSION)
  IRONRUBY      = Config::CONFIG['sitedir'] =~ /IronRuby/
  WINDOWS       = Config::CONFIG['host_os'] =~ /mswin|mingw/
  WINDOWS_MRI   = WINDOWS && !JRUBY && !IRONRUBY
  RAILS         = defined?(Rails)
  RUBY_BINARY   = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])
  RUBY_1_9      = RUBY_VERSION =~ /^1\.9/
  EXCEPTION_STATUS = Hash.new(:failed)
end

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
aslakhellesoy-cucumber-0.1.16.5 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.1 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.10 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.11 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.12 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.13 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.14 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.15 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.17 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.18 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.19 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.2 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.20 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.21 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.22 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.23 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.3 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.5 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.6 lib/cucumber/platform.rb
aslakhellesoy-cucumber-0.1.99.7 lib/cucumber/platform.rb