From: Avdi Grimm Date: 2011-06-05T06:52:10+09:00 Subject: Re: Best way to replace hash keys On Fri, Jun 3, 2011 at 10:27 AM, Alex Allmont 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