gangelo / mad_flatter

mad_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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gangelo/mad_flatter Stargazers