gem.coop : recursive-open-struct-sd
RecursiveOpenStruct is a subclass of OpenStruct. It differs from OpenStruct in that it allows nested hashes to be treated in a recursive fashion. For example: ros = RecursiveOpenStruct.new({ :a => { :b => 'c' } }) ros.a.b # 'c' Also, nested hashes can still be accessed as hashes: ros.a_as_a_hash # { :b => 'c' } > This is a fork of the original recursive-open-struct > to include a fix for https://github.com/aetherknight/recursive-open-struct/issues/46
Registry
-
Source
- Homepage
- Documentation
- JSON
- codemeta.json
purl: pkg:gem/recursive-open-struct-sd?repository_url=https://gem.coop
Keywords:
openstruct-subclass
, ruby
License: MIT
Latest release: about 9 years ago
First release: about 9 years ago
Downloads: 3,332 total
Stars: 290 on GitHub
Forks: 54 on GitHub
Total Commits: 194
Committers: 28
Average commits per author: 6.929
Development Distribution Score (DDS): 0.335
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: about 7 hours ago