Hi,
In message "Re: About 1.9 #__method__ feature."
on Tue, 4 Jul 2006 10:35:23 +0900, transfire / gmail.com writes:
|> Hmm, and you cannot use private methods in the subclass of OpenObject.
|> What should we do? Maybe you can define your own version of
|> BlankSlate that makes every required method into private, instead of
|> undef'ing it.
|
|Yes!!! I had totally forgotten about that little trick with
|method_missing catching public calls to otherwise private methods. Can
|I always depend on Ruby working that way? If so I think it's all good.
#method_missing is and will be called when you invoke private methods
with the receiver specified.
matz.