Method: Mongo::Protocol::CachingHash#initialize

Defined in:
lib/mongo/protocol/caching_hash.rb

#initialize(hash) ⇒ CachingHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of CachingHash.



26
27
28
# File 'lib/mongo/protocol/caching_hash.rb', line 26

def initialize(hash)
  @hash = hash
end