Class: Grandprix::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/grandprix/runner.rb

Instance Method Summary collapse

Instance Method Details

#run!(topology, elements) ⇒ Object



2
3
4
5
# File 'lib/grandprix/runner.rb', line 2

def run!(topology, elements)
  graph = Grandprix::Graph.new
  Grandprix::Planner.new(graph).plan(topology, elements)
end