Sha256: 2db9c27a0abb77ec2279800407f5b8d78f99ff0e0f5b86cdf37cb9c2572a92f9

Contents?: true

Size: 128 Bytes

Versions: 1

Compression:

Stored size: 128 Bytes

Contents

require "reject_by_key/version"

class Hash
  def reject_by_key(key)
    self.reject do |k, v|
      k == key
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reject_by_key-0.1.0 lib/reject_by_key.rb