Robert Feldt wrote:

> Yes, that will work around. Also you can do it with define_method if
> you have a handle to the undef'ed method. However, these "holes" can
> be covered by undef'ing more methods (ie alias_method etc) so it might
> still be a useful technique for some situations.

Or by undefing the methods before anyone has a chance of creating 
aliases or using .instance_method()? :)

-- 
http://flgr.0x42.net/