Rename hash keys

Posted . Visible to the public.

If you want to rename a key of a Ruby hash, this could help you out.
Just put it into something like config/initializers/hash_move.rb.

Arne Hartherz
Attachments
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2010-09-13 11:49)