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: 158,453 of 186,883
Downloads: 3,180

Daily

Ranking: 99,488 of 186,872
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,910,439,083bundler
101,129,820,239rake
27910,134,422rspec
71543,465,179pry
99414,169,947simplecov
190232,327,592rdoc

Owners

#GravatarHandle
1iconbithavoc
2iconthaold