Class: Lucid::Parser::SpecBuilder::StepBuilder
- Defined in:
- lib/lucid/spec_builder.rb
Instance Method Summary collapse
Methods inherited from Spec
Constructor Details
This class inherits a constructor from Lucid::Parser::SpecBuilder::Spec
Instance Method Details
#result(language) ⇒ Object
271 272 273 274 275 276 277 278 279 280 281 |
# File 'lib/lucid/spec_builder.rb', line 271 def result(language) step = Lucid::AST::Step.new( language, location, node.keyword, node.name, Lucid::AST::MultilineArgument.from(node.doc_string || node.rows) ) step.gherkin_statement(node) step end |