Sha256: 1dbf8438671acb0d4d9335f7f496cc11054ca3aefdba50f0fb519773dbc1a440
Contents?: true
Size: 168 Bytes
Versions: 13
Compression:
Stored size: 168 Bytes
Contents
module DeepCover module Tools::Slice def slice(hash, *keys) keys.each_with_object(Hash.new) { |k, h| h[k] = hash[k] if hash.has_key?(k) } end end end
Version data entries
13 entries across 13 versions & 1 rubygems