Created
April 12, 2012 21:44
-
-
Save spraints/2371211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Kernel | |
alias_method :ಠ_ಠ, :raise | |
end | |
begin | |
raise 'boom' | |
rescue Object => boom | |
puts "raise: #{boom}" | |
end | |
begin | |
ಠ_ಠ 'boom' | |
rescue Object => boom | |
puts "ಠ_ಠ: #{boom}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment