Sha256: 19ef85c4df7a465142cd86bac953f6a9b7ebe772698f6fe7434c2e5fe270a9a4

Contents?: true

Size: 91 Bytes

Versions: 1

Compression:

Stored size: 91 Bytes

Contents

class Hash
  def slice(*keys)
    self.select {|key, value| keys.include?(key) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bits_dealer-0.1.1 lib/ext/hash.rb