Skip to content

Instantly share code, notes, and snippets.

@bascht
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save bascht/7c4df21810d5037511ff to your computer and use it in GitHub Desktop.

Select an option

Save bascht/7c4df21810d5037511ff to your computer and use it in GitHub Desktop.
begin
puts "All is well"
class DiesenErrorGibtEsHierNicht < Exception; end
throw DiesenErrorGibtEsHierNicht
rescue DiesenErrorGibtEsHierNicht => e
puts "Well."
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment