Class: Cucumber::Formatter::LegacyApi::RuntimeFacade
- Defined in:
- lib/cucumber/formatter/legacy_api/runtime_facade.rb
Overview
This is what’s passed to the constructor of the formatters
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
-
#results ⇒ Object
Returns the value of attribute results.
-
#support_code ⇒ Object
Returns the value of attribute support_code.
Instance Method Summary collapse
- #scenarios(status = nil) ⇒ Object
-
#snippet_text(step_keyword, step_name, multiline_arg) ⇒ Object
:nodoc:.
- #steps(status = nil) ⇒ Object
- #unknown_programming_language? ⇒ Boolean
- #unmatched_step_definitions ⇒ Object
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration
6 7 8 |
# File 'lib/cucumber/formatter/legacy_api/runtime_facade.rb', line 6 def configuration @configuration end |
#results ⇒ Object
Returns the value of attribute results
6 7 8 |
# File 'lib/cucumber/formatter/legacy_api/runtime_facade.rb', line 6 def results @results end |
#support_code ⇒ Object
Returns the value of attribute support_code
6 7 8 |
# File 'lib/cucumber/formatter/legacy_api/runtime_facade.rb', line 6 def support_code @support_code end |
Instance Method Details
#scenarios(status = nil) ⇒ Object
19 20 21 |
# File 'lib/cucumber/formatter/legacy_api/runtime_facade.rb', line 19 def scenarios(status = nil) results.scenarios(status) end |
#snippet_text(step_keyword, step_name, multiline_arg) ⇒ Object
:nodoc:
11 12 13 |
# File 'lib/cucumber/formatter/legacy_api/runtime_facade.rb', line 11 def snippet_text(step_keyword, step_name, multiline_arg) #:nodoc: support_code.snippet_text(::Gherkin::I18n.code_keyword_for(step_keyword), step_name, multiline_arg) end |
#steps(status = nil) ⇒ Object
23 24 25 |
# File 'lib/cucumber/formatter/legacy_api/runtime_facade.rb', line 23 def steps(status = nil) results.steps(status) end |
#unknown_programming_language? ⇒ Boolean
15 16 17 |
# File 'lib/cucumber/formatter/legacy_api/runtime_facade.rb', line 15 def unknown_programming_language? support_code.unknown_programming_language? end |
#unmatched_step_definitions ⇒ Object
7 8 9 |
# File 'lib/cucumber/formatter/legacy_api/runtime_facade.rb', line 7 def unmatched_step_definitions support_code.unmatched_step_definitions end |