class Object
Public Instance Methods
dig(key, *args)
click to toggle source
# File lib/dig_rb/array.rb, line 3 def dig(key, *args) value = self.at(key) return value if args.length == 0 || value.nil? DigRb.guard_dig(value) value.dig(*args) end