Sign in Sign up
rubygems

dig_bang

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.

Activity

Latest release
10y ago
Total releases
2
Cadence
~42 days
Last 12 months
0

Details

License
MIT
First release
Apr 16, 2016
Releases
Version Released
0.2.1 minor
0.1.0 initial