recursive-open-struct

Edit Package rubygem-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
gem2rpm.yml 0000001632 1.59 KB
recursive-open-struct-2.0.0.gem 0000022528 22 KB
rubygem-recursive-open-struct.changes 0000006086 5.94 KB
rubygem-recursive-open-struct.spec 0000001938 1.89 KB
Latest Revision
Dan Čermák's avatar Dan Čermák (dancermak) accepted request 1221123 from Dan Čermák's avatar Dan Čermák (defolos) (revision 9)
🤖: Automatic update to 2.0.0
Comments 0
openSUSE Build Service is sponsored by