Class: Cucumber::Formatter::LegacyApi::Ast::ScenarioOutline
- Inherits:
-
Struct
- Object
- Struct
- Cucumber::Formatter::LegacyApi::Ast::ScenarioOutline
- Defined in:
- lib/cucumber/formatter/legacy_api/ast.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
- #backtrace_line(step_name = name.to_s, line = self.location.line) ⇒ Object
- #failed? ⇒ Boolean
- #line ⇒ Object
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location
302 303 304 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 302 def location @location end |
#name ⇒ Object
Returns the value of attribute name
302 303 304 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 302 def name @name end |
#status ⇒ Object
Returns the value of attribute status
302 303 304 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 302 def status @status end |
Instance Method Details
#backtrace_line(step_name = name.to_s, line = self.location.line) ⇒ Object
303 304 305 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 303 def backtrace_line(step_name = name.to_s, line = self.location.line) "#{location.on_line(line)}:in `#{step_name}'" end |
#failed? ⇒ Boolean
307 308 309 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 307 def failed? :failed == status end |
#line ⇒ Object
311 312 313 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 311 def line location.line end |