How in the world does SimpleDelegator#method work?
SimpleDelegatorsubclassesBasicObject, which does not provide amethodmethod.- Looking over the
source,
you can see that it doesn't define a
methodmethod anywhere. - It does define
method_missingand proxy undefined methods to the delegated object...but I don't think that can be how it works, because both of these examples work: