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:
= Copy to clipboard Copied!

install:
=

Versions:

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

Development Dependencies (3):

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

Owners:

Authors:

  • Robb Shecter

SHA 256 checksum:

94912d64bd481505f5eb642fa6d9bc38042019d3c11c75ae8e2881fce0f8b8a5

Total downloads 111,827

For this version 109,793

License:

MIT

Required Ruby Version: >= 0

Links: