Project

mogrify

0.0
No commit activity in last 3 years
No release in over 3 years
Mogrify is a tiny library of non-destructive transformers for enumerables, including symogrify with symbolizes strings and hashmogrify which builds hashes from arrays.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

mogrify

Build Status
Gem Version

The mogrify gem is a set of non-destructive transformers for enumerable objects. The tests are the best place to look for a feel of what the methods do.

symogrify

Instance method on Hash, returns the same hash with all string keys converted to symbols (even keys in nested hashes).

hashmogrify

Monkey patch for enumerable, takes a block and returns a hash where the key and value are the result of applying the block to the enumerable.