Skip to content

Instantly share code, notes, and snippets.

@kellyp
Created July 25, 2011 01:27
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 kellyp/1103364 to your computer and use it in GitHub Desktop.
Save kellyp/1103364 to your computer and use it in GitHub Desktop.
Ruote.process_definition :name => 'game' do
cursor do
sequence :tag => 'main', :on_error =>'handle_error' do
participant :ref => 'test', :command => '/error/error'
end
end
define 'handle_error' do
rewind
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment