Sha256: 9d588282eed039545ec87f87d9eac33de4a29097c2c8e54e087cf5dcc17afb34

Contents?: true

Size: 99 Bytes

Versions: 3

Compression:

Stored size: 99 Bytes

Contents

# frozen_string_literal: true

class Hash
  def clamped(whitelist)
    slice(*whitelist)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clamped-1.0.1 lib/clamped/hash.rb
clamped-1.0.0 lib/clamped/hash.rb
clamped-0.1.0 lib/clamped/hash.rb