module GorillaPatch::DigEmpty

Allows dig with 0 arguments

Public Instance Methods

dig(*keys) click to toggle source
Calls superclass method
# File lib/gorilla_patch/dig_empty.rb, line 7
def dig(*keys)
        keys.any? ? super : self
end