Created
December 2, 2014 12:14
-
-
Save caius/ef463ad94312988d7381 to your computer and use it in GitHub Desktop.
Table flipping exceptions in Ruby
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
A = Class.new(Exception) | |
# => A | |
A_(╯°□°)╯︵┻━┻ = Class.new(Exception) | |
# => A_(╯°□°)╯︵┻━┻ | |
A_(╯°□°)╯︵┻━┻.new(Marshal.load("\x04\bI\"\flbs\xCA\x8E\xC9\xAF\x06:\x06ET")) | |
# => #<A_(╯°□°)╯︵┻━┻: lbsʎɯ> |
Author
caius
commented
Jan 6, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment