Class: ManiokBdd::GherkinFormatter::Step
- Inherits:
-
Object
- Object
- ManiokBdd::GherkinFormatter::Step
- Defined in:
- lib/maniok_bdd/gherkin_formatter.rb
Instance Method Summary collapse
-
#initialize(gherkin_model_step) ⇒ Step
constructor
A new instance of Step.
- #to_s ⇒ Object
Constructor Details
#initialize(gherkin_model_step) ⇒ Step
Returns a new instance of Step.
102 103 104 |
# File 'lib/maniok_bdd/gherkin_formatter.rb', line 102 def initialize(gherkin_model_step) @gherkin_model_step = gherkin_model_step end |
Instance Method Details
#to_s ⇒ Object
106 107 108 109 110 111 112 |
# File 'lib/maniok_bdd/gherkin_formatter.rb', line 106 def to_s <<RUBY_STEP #{@gherkin_model_step.keyword}"#{@gherkin_model_step.name}" do end RUBY_STEP end |