Created
July 25, 2011 01:01
-
-
Save kellyp/1103335 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 :name => 'game' do | |
# the main definition | |
sequence :tag => 'main', :on_error =>'handle_error' do | |
participant :ref => 'test' | |
end | |
# setup shop by calling alpha and let the logger show the state | |
define 'handle_error' do | |
_redo :ref => 'main' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment