From: George Moschovitis Date: 2005-01-26T00:36:02+09:00 Subject: Re: Injecting methods from one class into another. > Well, you can use #instance_method and #bind but ruby will make the test > uln% ruby -e 'Array.instance_method(:[]).bind(Hash.new)' > -e:1:in `bind': bind argument must be an instance of Array (TypeError) > from -e:1 this test really kills 'duck typing', and renders the instance_method/bind trick almost useless :( Many thanks for the tip though. -g.