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:

= Copy to clipboard Copied!

Total downloads 114,700

For this version 2,080

License:

MIT

Required Ruby Version: >= 0

Links: