From: "Iñaki Baz Castillo" Date: 2010-01-21T22:22:06+09:00 Subject: Unexpected Hash#first return under Ruby1.9 Hi, Ruby 1.9 implements "first" method for Hash (as Hash are ordered now). However the return value if a bit annoying for me. A real example: irb> h = {"aaa"=>"AAA", "bbb"=>"BBB"} irb> h.first ["aaa", "AAA"] I want a method that returns the first value of a hash, rather than an array containing the first hash element and value. Does such method exist? Unfortunatelly RDoc for Hash under Ruby 1.9 seems not to exist yet: http://ruby-doc.org/core-1.9/ Thanks. -- Iñaki Baz Castillo