RubyGems Navigation menu

fancy-open-struct 0.1.5

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:
=

installation:
=

Versions:

  1. 0.4.0 May 29, 2014 (11,5 ko)
  2. 0.3.0 May 29, 2014 (11 ko)
  3. 0.2.0 May 29, 2014 (11 ko)
  4. 0.1.6 May 27, 2014 (10,5 ko)
  5. 0.1.5 May 27, 2014 (10,5 ko)
Voir toutes les versions (10)

Dépendances de Development (10):

bundler >= 0
coveralls >= 0
guard >= 0
pry >= 0
rake >= 0
rdoc >= 0
rspec >= 0

Propriétaires:

Auteurs:

  • Thomas H. Chapin

Total de contrôle SHA 256:

=

Total de téléchargements 29 339

Pour cette version 2 717

Version publiée:

License:

MIT

Version de Ruby requise: >= 0

Liens: