recursive-open-struct 2.1.1
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' }
Gemfile:
=
install:
=
Runtime Dependencies (1):
ostruct
>= 0
Development Dependencies (9):
bundler
>= 2
pry
>= 0
rake
~> 13.4
rdoc
~> 7.2
rspec
~> 3.13
rubocop
~> 1.86
rubocop-rake
~> 0.7
rubocop-rspec
~> 3.9
simplecov
>= 0