> 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.