RubyGems Navigation menu

dot_notation 1.0.1

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: require 'dot_notation' 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:
= Copier Copié!

installation:
=

Versions:

  1. 1.0.1 - August 18, 2014 (7 ko)
  2. 1.0.0 - August 18, 2014 (7 ko)

Dépendances de Development (2):

bundler ~> 1.5
rake >= 0

Propriétaires:

Auteurs:

  • Joshua Szmajda

Total de contrôle SHA 256:

02e0af0791dd7f6215c367db7cfc94743873f65627520cfd22ea0a34c901a3a6

Total de téléchargements 6 233

Pour cette version 3 636

License:

MIT

Version de Ruby requise: >= 0

Liens: