Created
April 7, 2013 03:42
-
-
Save 13k/5328865 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| irb(main):003:0> def assign=(val); raise "THE WORLD IS BROKEN!"; end | |
| => nil | |
| irb(main):004:0> self.assign = 10 | |
| RuntimeError: THE WORLD IS BROKEN! | |
| from (irb):3:in `assign=' | |
| from (irb):4 | |
| from C:/Program Files (x86)/ruby-1.9.2/bin/irb:12:in `<main>' | |
| irb(main):005:0> assign = 10 | |
| => 10 | |
| irb(main):006:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment