Registry / utility / recursive-open-struct

recursive-open-struct

JSON →
library2.1.1rbrubygemsunverified

A subclass of OpenStruct that allows nested hashes to be accessed as methods recursively.

gem install recursive-open-struct
INSTALL
IMPORT
SIG · RECURSIVE-OPEN-STR
R
recursive-open-struct
utilityrubyv2.1.1
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.

RecursiveOpenStruct
require 'recursive-open-struct'

Access nested hash values as methods.

require 'recursive-open-struct' ros = RecursiveOpenStruct.new({ a: { b: 'c' } }) puts ros.a.b
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
recursive-open-struct — gem install recursive-open-struct · libregistry