# File lib/gherkin/formatter/model.rb, line 162 def initialize(*args) @args = *args @rows = nil @doc_string = nil end
# File lib/gherkin/formatter/model.rb, line 181 def build Step.new(*(@args << @rows << @doc_string)) end
# File lib/gherkin/formatter/model.rb, line 173 def doc_string(string, content_type, line) @doc_string = Formatter::Model::DocString.new(string, content_type, line) end
# File lib/gherkin/formatter/model.rb, line 177 def replay(formatter) build.replay(formatter) end
# File lib/gherkin/formatter/model.rb, line 168 def row(comments, cells, line, id) @rows ||= [] @rows << DataTableRow.new(comments, cells, line) end