From: transfire@... Date: 2006-07-04T20:24:46+09:00 Subject: Re: InterfaceFilter as better BlankSlate (was: About 1.9 #__method__ feature) transfire@gmail.com wrote: > I have come up with the following implementation as a more flexible > solution to BlankSlate. I called it InterfaceFilter Hmm... I may again have overshot the solution. It's easy enough to privatize methods as needed, one doesn't need a intervening module to do that. So I'll push this back to a BlankSlate like class. Also, I see now where the limitation on the dynamic behavior actually lies: class X private :q end NameError: undefined method `q' for class `X' from (irb):2:in `private' from (irb):2 from :0 As with my method annotation system, one might wish to _predefine_ a characeristic, in this case the visibility of a *potential* method. In this way it could even be reused. Eg. module Shh private :s end class S include Shh def s "s" end end S.new.s #=> Error private method Possible? T.