From: Florian Gross Date: 2004-06-05T10:13:44+09:00 Subject: Re: How to ducktype a Hash? Sean O'Dell wrote: > So, how do I positively identify when an object is a hash or at least behaves > like a hash? obj.respond_to?(:keys) # ? :)