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: 159,744 of 190,280
Downloads: 3,361

Daily

Ranking: 145,113 of 190,253
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,236,941,822bundler
81,254,137,753rake
29956,893,742rspec
72582,958,271pry
99449,278,982simplecov
172280,870,742rdoc

Owners

#GravatarHandle
1iconbithavoc
2iconthaold