Skip to content

Instantly share code, notes, and snippets.

Created May 13, 2011 11:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/970375 to your computer and use it in GitHub Desktop.
Ruote.process_definition do
# ...
concurrence do
concurrence do
repeat do
votes :action => :get, :type => :email
end
repeat do
votes :action => :get, :type => :web
end
repeat do
votes :action => :get, :type => :irc
end
end
repeat do
listen :to => 'votes', :on => 'reply'
inc 'v:vote_count'
over :if => '${v:vote_count} > 5'
end
end
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment