Skip to content

Instantly share code, notes, and snippets.

@pewniak747
Created September 16, 2014 14:14
Show Gist options
  • Save pewniak747/2addb868b657b6e6a86b to your computer and use it in GitHub Desktop.
Save pewniak747/2addb868b657b6e6a86b to your computer and use it in GitHub Desktop.
case result
when Success then
# success handler
when SpecificError then
# specific error handler
when Error then
# error handler
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment