Class: ManiokBdd::GherkinFormatter::Step

Inherits:
Object
  • Object
show all
Defined in:
lib/maniok_bdd/gherkin_formatter.rb

Instance Method Summary collapse

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_sObject



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