On Fri, 7 Apr 2006, sas sas wrote:

> well, I've finally solved the thing

great.

> BTW, is there some way to redirect a bunch of methods (each, each_key,
> each_pair, each_value, empty?, to_a, etc... I guess you know what I
> mean) from self to self.data?

see


   http://www.ruby-doc.org/stdlib/libdoc/forwardable/rdoc/classes/Forwardable.html
   http://www.ruby-doc.org/stdlib/libdoc/delegate/rdoc/index.html

hth.

-a
-- 
be kind whenever possible... it is always possible.
- h.h. the 14th dali lama