Class: Lucid::Runtime::Orchestrator::StepInvoker

Inherits:
Object
  • Object
show all
Includes:
Gherkin::Rubify
Defined in:
lib/lucid/runtime/orchestrator.rb

Instance Method Summary collapse

Constructor Details

#initialize(orchestrator) ⇒ StepInvoker

Returns a new instance of StepInvoker.



15
16
17
# File 'lib/lucid/runtime/orchestrator.rb', line 15

def initialize(orchestrator)
  @orchestrator = orchestrator
end

Instance Method Details

#eofObject



26
27
# File 'lib/lucid/runtime/orchestrator.rb', line 26

def eof
end

#step(step) ⇒ Object



22
23
24
# File 'lib/lucid/runtime/orchestrator.rb', line 22

def step(step)
  @orchestrator.invoke(step.name, AST::MultilineArgument.from(step.doc_string || step.rows))
end

#uri(uri) ⇒ Object



19
20
# File 'lib/lucid/runtime/orchestrator.rb', line 19

def uri(uri)
end