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.



139
140
141
142
143
# File 'lib/active_record/statement_cache.rb', line 139

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