Hi -- On Thu, 19 Aug 2010, Alex Stahl wrote: > Strange... it was failing before (like a few weeks ago) w/ a > NoMethodError on has_key? when it wasn't a hash. But trying it again > now works fine as you note. Maybe you were doing has_key? first. Unless you did this: h = {} class << h; undef_method :has_key?; end :-) David -- David A. Black, Senior Developer, Cyrus Innovation Inc. The Ruby training with Black/Brown/McAnally Compleat Philadelphia, PA, October 1-2, 2010 Rubyist http://www.compleatrubyist.com