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
# poor mans debugger | |
# | |
# if you want to know whats the value of an object just add .why? | |
# and you will see what it is and why your program behaves like it does. | |
# | |
Object.class_eval {def why?; raise "Because it is #{inspect}" ; end} |
NewerOlder