LogoopenSUSE Build Service > Projects
Sign Up | Log In

OpenStruct subclass that returns nested hash attributes as

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' }.

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions
gem2rpm.yml 1.61 KB over 1 year ago Download File
recursive-open-struct-1.0.0.gem 15.5 KB over 1 year ago Download File
rubygem-recursive-open-struct.changes 137 Bytes over 1 year ago Download File
rubygem-recursive-open-struct.spec 2.01 KB over 1 year ago Download File

Comments for home:Ximi1970:Servers:Gitlab:10.6-stable:Staging (0)