-
-
Save anonymous/70fd0cd3c5255f4f98bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' do | |
inc 'v:vote_count' | |
over :if => '${vote_count} > 5' | |
end | |
end | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment