OpenStruct subclass that returns nested hash attributes as

http://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' }.

Refresh
Refresh
Source Files
Filename Size Changed Actions
gem2rpm.yml 0000001644 1.61 KB over 2 years
recursive-open-struct-1.1.0.gem 0000018944 18.5 KB over 1 year
rubygem-recursive-open-struct.changes 0000000411 411 Bytes about 1 year
rubygem-recursive-open-struct.spec 0000002060 2.01 KB over 1 year
Comments for rubygem-recursive-open-struct 0