Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Kernel
- def raise(exception = RuntimeError, string = nil, array = caller)
- puts "#{exception} was raised"
- end
- end
- raise "Test"
- raise Exception
- 1/0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement