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' }
- Sources inherited from project devel:languages:ruby:extensions
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Marvin1973:pcs/rubygem-recursive-open-struct && cd $_
- Create Badge
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 (dancermak)
accepted
request 1221123
from
Dan Čermák (defolos)
(revision 9)
🤖: Automatic update to 2.0.0
Comments 0