# File lib/cucumber/core/gherkin/writer.rb, line 172 def initialize(string, content_type) @strings = string.split("\n").map(&:strip) @content_type = content_type end
# File lib/cucumber/core/gherkin/writer.rb, line 177 def build(source) source + statements end
# File lib/cucumber/core/gherkin/writer.rb, line 186 def doc_string_statement [ %Q["""#{content_type}], strings, '"""' ] end
# File lib/cucumber/core/gherkin/writer.rb, line 182 def statements prepare_statements doc_string_statement end