Finding where a method is defined in Ruby
Ruby can sometimes look like magic, but, like all magic, if you look hard enough, you can see the sleight of hand. With method_missing, dynamically defined methods, and being able to extend objects at runtime, sometimes it looks like voodoo as to where the…