From: Marnen Laibow-Koser Date: 2010-02-04T12:50:08+09:00 Subject: Re: hooking subscript operations in a hash Ralph Shnelvar wrote: [...] > Is there any way to do it for all hash subscript operations? Using include instead of extend should do the trick. You may also need to alias the old Hash#[]= and then call it from your new one. Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.