gangelo / mad_flatter Goto Github PK
View Code? Open in Web Editor NEWmad_flatter is a Ruby gem that takes a Ruby Hash and flattens the Hash keys to create a new Hash with unique Hash keys; that is, embedded Hashes use their respective keys as namespaces to create unique keys across the entire Hash. A `:namespace` option may be applied to append to all Hash keys, to ensure that all Hash keys are unique across multiple Hashes with the same structure.
License: MIT License