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

instalar:
=

Versões:

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

Development Dependencies (2):

bundler ~> 1.5
rake >= 0

Donos:

Autores:

  • Joshua Szmajda

SHA 256 checksum:

=

Total de downloads 6.443

Desta versão 3.754

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: