RubyGems Navigation menu

dot_notation 1.0.0

Simple-ish enumberable-simplifier. Useful for APIs like Twitter, etc If you have a hash or an array or something that quacks like one, you can do stuff example: h = {a: {b: {c: [{d: 'hi'}]}}} h.extend(DotNotation) h.dot('a.b.c.0.d') #=> 'hi' h.dot('a.b.c.foo.bar.bz.whatever.124.whocares') #=> nil

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 1.0.1 - August 18, 2014 (7.0 KB)
  2. 1.0.0 - August 18, 2014 (7.0 KB)

Development 相依性套件 (2):

bundler ~> 1.5
rake >= 0

擁有者:

作者:

  • Joshua Szmajda

SHA 256 checksum:

324a7797b4dc8d48d193e3246cd339f42156cb5a5979faa43515cf59bfe4b64e

總下載次數 6,256

這個版本 2,606

License:

MIT

Ruby 版本需求: >= 0

相關連結: