Categories: None [Edit]

recursive-open-struct-sd

https://rubygems.org/gems/recursive-open-struct-sd
https://github.com/aetherknight/recursive-open-struct
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

Total

Ranking: 155,618 of 180,671
Downloads: 2,944

Daily

Ranking: 113,030 of 180,660
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,101,349,740bundler
16861,639,035rake
24771,889,602rspec
63426,092,036pry
101314,472,902simplecov
215147,908,033rdoc

Owners

#GravatarHandle
1iconbithavoc
2iconthaold