From: Shai Rosenfeld Date: 2007-07-16T19:17:45+09:00 Subject: clean nice way (hash) hi, was wondering what the prettiest way to do the below would be: i got a hash { '1' => 'some', '4' => 'thing', '6' => 'good' } and i want to turn it into { '1' => {'name' => 'some'}, '4' => {'name' => 'thing'}, '6' => {'name'=>'good'} } -- Posted via http://www.ruby-forum.com/.