This code was taken from the RSpec project and slightly modified.
| VERSION | = | [version[:major], version[:minor], version[:patch], version[:build]].compact.join('.') |
| BINARY | = | File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber') |
| LIBDIR | = | File.expand_path(File.dirname(__FILE__) + '/../../lib') |
| JRUBY | = | defined?(JRUBY_VERSION) |
| IRONRUBY | = | defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby" |
| WINDOWS | = | Config::CONFIG['host_os'] =~ /mswin|mingw/ |
| OS_X | = | Config::CONFIG['host_os'] =~ /darwin/ |
| 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/ |
| RUBY_1_8_7 | = | RUBY_VERSION =~ /^1\.8\.7/ |
| white | -> | grey |
| white | -> | grey |
| white | -> | grey |
| use_full_backtrace | [RW] | |
| wants_to_quit | [RW] |