Class: Cucumber::Formatter::LegacyApi::StepBacktraceLine
- Defined in:
- lib/cucumber/formatter/legacy_api/adapter.rb
Instance Attribute Summary collapse
-
#step ⇒ Object
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(step) ⇒ StepBacktraceLine
constructor
A new instance of StepBacktraceLine.
- #to_s ⇒ Object
Constructor Details
#initialize(step) ⇒ StepBacktraceLine
Returns a new instance of StepBacktraceLine.
1015 1016 1017 1018 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 1015 def initialize(step) raise ArgumentError if step.nil? super end |
Instance Attribute Details
#step ⇒ Object
Returns the value of attribute step
1014 1015 1016 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 1014 def step @step end |
Instance Method Details
#to_s ⇒ Object
1020 1021 1022 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 1020 def to_s step.backtrace_line end |