Skip to content

Instantly share code, notes, and snippets.

/t.rb

Created November 8, 2012 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4036784 to your computer and use it in GitHub Desktop.
Save anonymous/4036784 to your computer and use it in GitHub Desktop.
require 'ruote'
ruote = Ruote::Dashboard.new(Ruote::Worker.new(Ruote::HashStorage.new))
ruote.noisy = ENV['NOISY'] == 'true'
pdef = Ruote.define do
#set 'v:blah' => 3
iterator :times => '${v:blah}' do
echo "${v:i} / ${v:ii} / ${v:blah}"
end
end
wfid = ruote.launch(pdef, {}, { 'blah' => 3 })
ruote.wait_for(wfid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment