Sha256: f5fa98442b0307c5dacdcf05ca08d41339112b4bf6207036dc1ce78d8dc39fd6
Contents?: true
Size: 185 Bytes
Versions: 1
Compression:
Stored size: 185 Bytes
Contents
require "grab/version" module Grab def grab(*keys) keys.map { |k| self[k] } end def grab!(*keys) keys.map { |k| self.fetch(k) } end end class Hash include Grab end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grab-0.1.0 | lib/grab.rb |