Class: Cucumber::Core::Test::Mapper::StepMapper
- Inherits:
-
Object
- Object
- Cucumber::Core::Test::Mapper::StepMapper
- Defined in:
- lib/cucumber/core/test/mapper.rb
Instance Attribute Summary collapse
-
#mapped_test_step ⇒ Object
readonly
Returns the value of attribute mapped_test_step.
Instance Method Summary collapse
-
#initialize ⇒ StepMapper
constructor
A new instance of StepMapper.
- #map(&block) ⇒ Object
Constructor Details
#initialize ⇒ StepMapper
Returns a new instance of StepMapper.
43 44 45 46 |
# File 'lib/cucumber/core/test/mapper.rb', line 43 def initialize(*) super @mapped_test_step = test_step end |
Instance Attribute Details
#mapped_test_step ⇒ Object (readonly)
Returns the value of attribute mapped_test_step.
41 42 43 |
# File 'lib/cucumber/core/test/mapper.rb', line 41 def mapped_test_step @mapped_test_step end |
Instance Method Details
#map(&block) ⇒ Object
48 49 50 |
# File 'lib/cucumber/core/test/mapper.rb', line 48 def map(&block) @mapped_test_step = test_step.map(&block) end |