module DigBang

Constants

VERSION

Public Class Methods

fetch_all(fetchable, keys) click to toggle source
# File lib/dig_bang.rb, line 3
def self.fetch_all(fetchable, keys)
  keys.reduce(fetchable) { |a, e| a.fetch(e) }
end