Method: ActiveRecord::StatementCache#initialize

Defined in:
lib/active_record/statement_cache.rb

#initialize(query_builder, bind_map, klass) ⇒ StatementCache

Returns a new instance of StatementCache.



123
124
125
126
127
# File 'lib/active_record/statement_cache.rb', line 123

def initialize(query_builder, bind_map, klass)
  @query_builder = query_builder
  @bind_map = bind_map
  @klass = klass
end