Sha256: 3463aa4eb537931fa627e6821dded7b7fdb3b4405de81b21c060a7c75f2e1d14

Contents?: true

Size: 148 Bytes

Versions: 104

Compression:

Stored size: 148 Bytes

Contents

# :stopdoc:
if RUBY_VERSION < '1.9'
class Hash
  def keep_if
    each do |k,v|
      delete(k) unless yield(k,v)
    end
  end
end
end
# :startdoc:

Version data entries

104 entries across 78 versions & 19 rubygems

Version Path
journey-1.0.0.rc4 lib/journey/core-ext/hash.rb
journey-1.0.0.rc3 lib/journey/core-ext/hash.rb
journey-1.0.0.rc2 lib/journey/core-ext/hash.rb
journey-1.0.0.rc1 lib/journey/core-ext/hash.rb