Skip to content

Instantly share code, notes, and snippets.

@gstark
Created April 12, 2012 15:03
Show Gist options
  • Save gstark/2367960 to your computer and use it in GitHub Desktop.
Save gstark/2367960 to your computer and use it in GitHub Desktop.
case something
when value1
command1
command2
command3
when value2
command4
command5
when value3
command6
else
matched_none
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment