Sha256: 303dc93008fb411551210f6ea5048e9101db6339e01f227e8af4f0173c0bb587

Contents?: true

Size: 138 Bytes

Versions: 1

Compression:

Stored size: 138 Bytes

Contents

class Hash

  def except(*keys)
    dup.except!(*keys)
  end

  def except!(*keys)
    keys.each { |key| delete(key) }
    self
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
happy_support-1.0.0 lib/happy_support/core_ext/hash/except.rb