Class: Turnip::StepDefinition::Match
- Inherits:
-
Struct
- Object
- Struct
- Turnip::StepDefinition::Match
- Defined in:
- lib/turnip/step_definition.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#params ⇒ Object
Returns the value of attribute params.
-
#step_definition ⇒ Object
Returns the value of attribute step_definition.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
3 4 5 |
# File 'lib/turnip/step_definition.rb', line 3 def block @block end |
#params ⇒ Object
Returns the value of attribute params
3 4 5 |
# File 'lib/turnip/step_definition.rb', line 3 def params @params end |
#step_definition ⇒ Object
Returns the value of attribute step_definition
3 4 5 |
# File 'lib/turnip/step_definition.rb', line 3 def step_definition @step_definition end |
Instance Method Details
#called_from ⇒ Object
6 |
# File 'lib/turnip/step_definition.rb', line 6 def called_from; step_definition.called_from; end |
#expression ⇒ Object
4 |
# File 'lib/turnip/step_definition.rb', line 4 def expression; step_definition.expression; end |
#method_name ⇒ Object
5 |
# File 'lib/turnip/step_definition.rb', line 5 def method_name; step_definition.method_name; end |
#trace ⇒ Object
8 9 10 |
# File 'lib/turnip/step_definition.rb', line 8 def trace %{ - "#{expression}" (#{called_from})} end |