From: "Mauricio Fernández" Date: 2004-06-09T01:41:13+09:00 Subject: Re: How to ducktype a Hash? On Tue, Jun 08, 2004 at 12:05:41PM +0900, Sean O'Dell wrote: > information. Also, Ruby doesn't called method_added when a method is added > directly to an object with <<. >> class Foo; def singleton_method_added(meth); p meth end end => nil >> f = Foo.new; class << f; def bar; end end :bar => nil -- Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com One tree to rule them all, One tree to find them, One tree to bring them all, and to itself bind them. -- Gavin Koch