fancy-open-struct 0.4.0
FancyOpenStruct is a subclass of OpenStruct, and is a variant of RecursiveOpenStruct. This allows you to convert nested hashes into a structure where keys and values can be navigated and modified via dot-syntax, like: foo.bar = :something. This particular gem also adds support for Hash methods (such as length or merge), and also allows you to access and modify the data structure the same way that you would handle a normal Hash.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
awesome_print
>= 0
Development 相依性套件 (10):
bundler
>= 0
coveralls
>= 0
guard
>= 0
guard-bundler
>= 0
guard-rspec
>= 0
pry
>= 0
rake
>= 0
rdoc
>= 0
rspec
>= 0
simplecov-multi
>= 0