RubyGems Navigation menu

dig_bang 0.1.0

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:

5132bd9c1ee16667ee87832a9c7611304d133b4bf6cb2ed15541c0190ef3867e

Total downloads 112,248

For this version 2,039

License:

MIT

Required Ruby Version: >= 0

Links: