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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

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

Development Abhängigkeiten (3):

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

Besitzer:

Autoren:

  • Robb Shecter

SHA 256-Prüfsumme:

94912d64bd481505f5eb642fa6d9bc38042019d3c11c75ae8e2881fce0f8b8a5

Downloads insgesamt 112.248

Für diese Version 110.209

Lizenz:

MIT

Erforderliche Ruby-Version: >= 0

Links: