On Fri, Jun 3, 2011 at 10:27 AM, Alex Allmont
<Alex.Allmont / naturalmotion.com> wrote:
> What is the most optimal and neatest way to replace keys in a hash given a particular condition?

I wrote an article about this back in 2009:
http://avdi.org/devblog/2009/11/20/hash-transforms-in-ruby/

Hope it's helpful.

-- 
Avdi Grimm
http://avdi.org