Registry / utility / hash-flattener

hash-flattener

JSON →
library0.2.0rbrubygemsunverified

Recursively flattens a nested Ruby Hash into a single-level hash using breadcrumb keys.

gem install hash_flattener
INSTALL
IMPORT
SIG · HASH-FLATTENER
H
hash-flattener
utilityrubyv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HashFlattener
require 'hash_flattener'

Flatten a nested hash

require 'hash_flattener' flat = HashFlattener.flatten({a: {b: 1, c: 2}}) # => {"a.b"=>1, "a.c"=>2}
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hash-flattener — gem install hash-flattener · libregistry