class Cucumber::Core::Gherkin::Writer::Feature
Public Instance Methods
Source
# File lib/cucumber/core/gherkin/writer.rb, line 54 def build(source = []) elements.inject(source + statements) { |acc, el| el.build(acc) + [NEW_LINE] } end
Private Instance Methods
Source
# File lib/cucumber/core/gherkin/writer.rb, line 60 def language options[:language] end
Source
# File lib/cucumber/core/gherkin/writer.rb, line 75 def language_statement "# language: #{language}" if language end
Source
# File lib/cucumber/core/gherkin/writer.rb, line 64 def statements prepare_statements( language_statement, comments_statement, tag_statement, name_statement, description_statement, NEW_LINE ) end