Sha256: b5bec3394c47cc3318c241f0d8a9a315215bb22d2c103686ddd8e024ee80710d
Contents?: true
Size: 147 Bytes
Versions: 19
Compression:
Stored size: 147 Bytes
Contents
class Cistern::Hash def self.slice(hash, *keys) {}.tap do |sliced| keys.each{|k| sliced[k]= hash[k] if hash.key?(k)} end end end
Version data entries
19 entries across 19 versions & 1 rubygems