Module: Cucumber
- Defined in:
- lib/cucumber/cli/drb_client.rb,
lib/cucumber.rb,
lib/cucumber/ast.rb,
lib/cucumber/filter.rb,
lib/cucumber/ast/step.rb,
lib/cucumber/ast/tags.rb,
lib/cucumber/cli/main.rb,
lib/cucumber/platform.rb,
lib/cucumber/ast/table.rb,
lib/cucumber/rake/task.rb,
lib/cucumber/step_match.rb,
lib/cucumber/ast/comment.rb,
lib/cucumber/ast/feature.rb,
lib/cucumber/ast/visitor.rb,
lib/cucumber/broadcaster.rb,
lib/cucumber/cli/options.rb,
lib/cucumber/constantize.rb,
lib/cucumber/step_mother.rb,
lib/cucumber/ast/examples.rb,
lib/cucumber/ast/features.rb,
lib/cucumber/ast/scenario.rb,
lib/cucumber/feature_file.rb,
lib/cucumber/formatter/io.rb,
lib/cucumber/parser/table.rb,
lib/cucumber/ast/py_string.rb,
lib/cucumber/formatter/pdf.rb,
lib/cucumber/parser/common.rb,
lib/cucumber/step_argument.rb,
lib/cucumber/ast/background.rb,
lib/cucumber/formatter/html.rb,
lib/cucumber/parser/feature.rb,
lib/cucumber/tag_expression.rb,
lib/cucumber/ast/tree_walker.rb,
lib/cucumber/formatter/debug.rb,
lib/cucumber/formatter/junit.rb,
lib/cucumber/formatter/rerun.rb,
lib/cucumber/formatter/steps.rb,
lib/cucumber/formatter/usage.rb,
lib/cucumber/formatter/pretty.rb,
lib/cucumber/language_support.rb,
lib/cucumber/parser/py_string.rb,
lib/cucumber/ast/outline_table.rb,
lib/cucumber/cli/configuration.rb,
lib/cucumber/formatter/console.rb,
lib/cucumber/formatter/summary.rb,
lib/cucumber/formatter/unicode.rb,
lib/cucumber/rb_support/rb_dsl.rb,
lib/cucumber/cli/profile_loader.rb,
lib/cucumber/formatter/color_io.rb,
lib/cucumber/formatter/duration.rb,
lib/cucumber/formatter/progress.rb,
lib/cucumber/formatter/stepdefs.rb,
lib/cucumber/parser/treetop_ext.rb,
lib/cucumber/rb_support/rb_hook.rb,
lib/cucumber/ast/feature_element.rb,
lib/cucumber/ast/step_collection.rb,
lib/cucumber/ast/step_invocation.rb,
lib/cucumber/formatter/ansicolor.rb,
lib/cucumber/formatter/tag_cloud.rb,
lib/cucumber/rb_support/rb_world.rb,
lib/cucumber/ast/scenario_outline.rb,
lib/cucumber/step_definition_light.rb,
lib/cucumber/core_ext/instance_exec.rb,
lib/cucumber/py_support/py_language.rb,
lib/cucumber/rb_support/rb_language.rb,
lib/cucumber/parser/natural_language.rb,
lib/cucumber/rb_support/rb_transform.rb,
lib/cucumber/wire_support/connection.rb,
lib/cucumber/wire_support/wire_packet.rb,
lib/cucumber/wire_support/configuration.rb,
lib/cucumber/wire_support/wire_language.rb,
lib/cucumber/wire_support/wire_protocol.rb,
lib/cucumber/cli/language_help_formatter.rb,
lib/cucumber/wire_support/wire_exception.rb,
lib/cucumber/formatter/ordered_xml_markup.rb,
lib/cucumber/wire_support/request_handler.rb,
lib/cucumber/rb_support/rb_step_definition.rb,
lib/cucumber/language_support/language_methods.rb,
lib/cucumber/wire_support/wire_step_definition.rb,
lib/cucumber/rb_support/regexp_argument_matcher.rb,
lib/cucumber/wire_support/wire_protocol/requests.rb
Overview
TODO: REMOVE ME Most of this class now lives in Gherkin’s i18n.rb
Defined Under Namespace
Modules: Ast, Cli, Constantize, Formatter, LanguageSupport, Parser, PySupport, Rake, RbSupport, WindowsOutput, WireSupport Classes: Ambiguous, ArityMismatchError, Broadcaster, FeatureFile, Filter, NoStepMatch, Pending, StepArgument, StepDefinitionLight, StepMatch, StepMother, TagExpression, Undefined
Constant Summary collapse
- VERSION =
[version[:major], version[:minor], version[:patch], version[:build]].compact.join('.')
- LANGUAGE_FILE =
File.(File.dirname(__FILE__) + '/languages.yml')
- LANGUAGES =
YAML.load_file(LANGUAGE_FILE)
- BINARY =
File.(File.dirname(__FILE__) + '/../../bin/cucumber')
- LIBDIR =
File.(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/
- CODEPAGE =
"cp1252"
Class Attribute Summary collapse
-
.use_full_backtrace ⇒ Object
Returns the value of attribute use_full_backtrace.
-
.wants_to_quit ⇒ Object
Returns the value of attribute wants_to_quit.
Class Method Summary collapse
-
.file_mode(m) ⇒ Object
:nodoc:.
Class Attribute Details
.use_full_backtrace ⇒ Object
Returns the value of attribute use_full_backtrace.
24 25 26 |
# File 'lib/cucumber/platform.rb', line 24 def use_full_backtrace @use_full_backtrace end |
.wants_to_quit ⇒ Object
Returns the value of attribute wants_to_quit.
13 14 15 |
# File 'lib/cucumber.rb', line 13 def wants_to_quit @wants_to_quit end |