Class: Cucumber::Core::Gherkin::AstBuilder::ScenarioBuilder::StepBuilder

Inherits:
Builder
  • Object
show all
Defined in:
lib/cucumber/core/gherkin/ast_builder.rb

Instance Method Summary collapse

Methods inherited from Builder

#initialize

Constructor Details

This class inherits a constructor from Cucumber::Core::Gherkin::AstBuilder::Builder

Instance Method Details

#result(language) ⇒ Object



213
214
215
216
217
218
219
220
221
222
223
# File 'lib/cucumber/core/gherkin/ast_builder.rb', line 213

def result(language)
  Ast::Step.new(
    node,
    language,
    location,
    node.keyword,
    node.name,
    
    MultilineArgument.from(node.doc_string || node.rows, location)
  )
end