Class: Lucid::ContextLoader::Orchestrator::StepInvoker

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

Instance Method Summary collapse

Constructor Details

#initialize(orchestrator) ⇒ StepInvoker

Returns a new instance of StepInvoker.



13
14
15
# File 'lib/lucid/orchestrator.rb', line 13

def initialize(orchestrator)
  @orchestrator = orchestrator
end

Instance Method Details

#eofObject



24
25
# File 'lib/lucid/orchestrator.rb', line 24

def eof
end

#step(step) ⇒ Object



20
21
22
# File 'lib/lucid/orchestrator.rb', line 20

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

#uri(uri) ⇒ Object



17
18
# File 'lib/lucid/orchestrator.rb', line 17

def uri(uri)
end