RubyGems Navigation menu

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.4.0 - May 29, 2014 (11.5 KB)
  2. 0.3.0 - May 29, 2014 (11.0 KB)
  3. 0.2.0 - May 29, 2014 (11.0 KB)
  4. 0.1.6 - May 27, 2014 (10.5 KB)
  5. 0.1.5 - May 27, 2014 (10.5 KB)
显示所有版本 (共 10 个)

Runtime 依赖 (1):

Development 依赖 (10):

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

业主:

作者:

  • Thomas H. Chapin

SHA 256 校验和:

eff95c8f63df190974c81aeb071f46bd87bf6ef0849ed596c7b8edb680eb1b4f

下载总量 28,368

这个版本 4,597

许可:

MIT

需要的 Ruby 版本: >= 1.9.3

链接: