RubyGems Navigation menu

dig_bang 0.2.1

Ruby 2.3 introduces the new Hash#dig method for safe extraction of a nested value. It is the equivalent of a safely repeated Hash#[] or Array#[]. #dig! on the other hand, is a repeated #fetch.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.2.1 - May 28, 2016 (7 KB)
  2. 0.1.0 - April 16, 2016 (7 KB)

dependencias de Development (3):

bundler ~> 1.11
rake ~> 10.0
rspec ~> 3.0

Propietarios:

Autores:

  • Robb Shecter

SHA 256 checksum:

94912d64bd481505f5eb642fa6d9bc38042019d3c11c75ae8e2881fce0f8b8a5

Total de descargas 112.248

Para esta versión 110.209

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: