Class: Cucumber::Formatter::LegacyApi::Ast::ExampleTableRow
- Defined in:
- lib/cucumber/formatter/legacy_api/ast.rb
Instance Attribute Summary collapse
-
#cells ⇒ Object
Returns the value of attribute cells.
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#language ⇒ Object
Returns the value of attribute language.
-
#location ⇒ Object
Returns the value of attribute location.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#cells ⇒ Object
Returns the value of attribute cells
237 238 239 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 237 def cells @cells end |
#exception ⇒ Object
Returns the value of attribute exception
237 238 239 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 237 def exception @exception end |
#language ⇒ Object
Returns the value of attribute language
237 238 239 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 237 def language @language end |
#location ⇒ Object
Returns the value of attribute location
237 238 239 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 237 def location @location end |
#status ⇒ Object
Returns the value of attribute status
237 238 239 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 237 def status @status end |
Instance Method Details
#failed? ⇒ Boolean
242 243 244 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 242 def failed? status == :failed end |
#keyword ⇒ Object
250 251 252 253 254 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 250 def keyword # This method is only called when used for the scenario name line with # the expand option, and on that line the keyword is "Scenario" language.keywords('scenario')[0] end |
#line ⇒ Object
246 247 248 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 246 def line location.line end |
#name ⇒ Object
238 239 240 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 238 def name '| ' + cells.join(' | ') + ' |' end |