Sha256: ae3abb561bb1d76d29e90418b569915b94e21aced82558b3fd6beb4cb78666cc

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 Bytes

Contents

module VulnDBHQ
  # Tracks objects to help ensure that each object gets loaded only once.
  # See: http://www.martinfowler.com/eaaCatalog/identityMap.html
  class IdentityMap < Hash
  end

  # Inherit from KeyError when Ruby 1.8 compatibility is removed
  class IdentityMapKeyError < ::IndexError
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vulndbhq-0.1.1 lib/vulndbhq/identity_map.rb
vulndbhq-0.1.0 lib/vulndbhq/identity_map.rb
vulndbhq-0.0.1.beta lib/vulndbhq/identity_map.rb