Hi,

At Sat, 5 Jun 2004 10:13:44 +0900,
Florian Gross wrote in [ruby-talk:102433]:
> > So, how do I positively identify when an object is a hash or at least behaves 
> > like a hash?
> 
> obj.respond_to?(:keys) # ? :)

I'd prefer :each_pair.

-- 
Nobu Nakada