Class: ActiveRecord::ConnectionAdapters::BoundSchemaReflection::FakePool
- Defined in:
 - activerecord/lib/active_record/connection_adapters/schema_cache.rb
 
Overview
:nodoc
Instance Method Summary collapse
- 
  
    
      #initialize(connection)  ⇒ FakePool 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of FakePool.
 - #with_connection {|@connection| ... } ⇒ Object
 
Constructor Details
#initialize(connection) ⇒ FakePool
Returns a new instance of FakePool.
      145 146 147  | 
    
      # File 'activerecord/lib/active_record/connection_adapters/schema_cache.rb', line 145 def initialize(connection) @connection = connection end  | 
  
Instance Method Details
#with_connection {|@connection| ... } ⇒ Object
      149 150 151  | 
    
      # File 'activerecord/lib/active_record/connection_adapters/schema_cache.rb', line 149 def with_connection yield @connection end  |