class Cucumber::Core::Gherkin::AstBuilder::DocStringBuilder
Public Instance Methods
doc_string_location()
click to toggle source
# File lib/cucumber/core/gherkin/ast_builder.rb, line 392 def doc_string_location start_line = attributes[:location][:line] end_line = start_line + attributes[:content].each_line.to_a.length + 1 Ast::Location.new(file, start_line..end_line) end
result()
click to toggle source
# File lib/cucumber/core/gherkin/ast_builder.rb, line 384 def result Ast::DocString.new( attributes[:content], attributes[:content_type], doc_string_location ) end