Class: Cucumber::Tree::RowStep
- Defined in:
- lib/gems/cucumber-0.1.15/lib/cucumber/tree/step.rb
Constant Summary
Constants inherited from BaseStep
BaseStep::PENDING_ADJUSTMENT, BaseStep::REGULAR_ADJUSTMENT
Instance Attribute Summary collapse
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
Attributes inherited from BaseStep
Instance Method Summary collapse
-
#initialize(scenario, step, args) ⇒ RowStep
constructor
A new instance of RowStep.
- #line ⇒ Object
- #regexp_args_proc(step_mother) ⇒ Object
- #row? ⇒ Boolean
Methods inherited from BaseStep
#actual_keyword, #execute_in, #file, #forced_to_pending?, #format_error, #id, #length, new_id!, #outline?, #padding_length, #previous_step, #steps
Constructor Details
#initialize(scenario, step, args) ⇒ RowStep
Returns a new instance of RowStep.
137 138 139 |
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/step.rb', line 137 def initialize(scenario, step, args) @scenario, @step, @args = scenario, step, args end |
Instance Attribute Details
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
135 136 137 |
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/step.rb', line 135 def keyword @keyword end |
Instance Method Details
#line ⇒ Object
150 151 152 |
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/step.rb', line 150 def line @scenario.line end |
#regexp_args_proc(step_mother) ⇒ Object
141 142 143 144 |
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/step.rb', line 141 def regexp_args_proc(step_mother) regexp, _, proc = @step.regexp_args_proc(step_mother) [regexp, @args, proc] end |
#row? ⇒ Boolean
146 147 148 |
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/tree/step.rb', line 146 def row? true end |