Class: ManiokBdd::GherkinFormatter::Scenario

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

Instance Attribute Summary

Attributes inherited from GherkinCollection

#elements

Instance Method Summary collapse

Methods inherited from GherkinCollection

#initialize

Constructor Details

This class inherits a constructor from ManiokBdd::GherkinFormatter::GherkinCollection

Instance Method Details

#to_sObject



90
91
92
93
94
95
96
97
# File 'lib/maniok_bdd/gherkin_formatter.rb', line 90

def to_s
  <<RUBY_SCENARIO
  #{gherkin_to_maniok_block} do

#{print_elements}
  end
RUBY_SCENARIO
end