RubyGems Navigation menu

fancy-open-struct 0.3.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:
=

instalar:
=

Versões:

  1. 0.4.0 May 29, 2014 (11,5 KB)
  2. 0.3.0 May 29, 2014 (11 KB)
  3. 0.2.0 May 29, 2014 (11 KB)
  4. 0.1.6 May 27, 2014 (10,5 KB)
  5. 0.1.5 May 27, 2014 (10,5 KB)
Mostrar todas as versões (10)

Runtime Dependencies (1):

Development Dependencies (10):

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

Donos:

Autores:

  • Thomas H. Chapin

SHA 256 checksum:

=

Total de downloads 29.339

Desta versão 2.731

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 1.9.3

Links: