Class: ActiveRecord::Base::ConnectionSpecification

Inherits:
Object
  • Object
show all
Defined in:
activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb

Overview

:nodoc:

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (ConnectionSpecification) initialize(config, adapter_method)



5
6
7
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb', line 5

def initialize (config, adapter_method)
  @config, @adapter_method = config, adapter_method
end

Instance Attribute Details

- (Object) adapter_method (readonly)

Returns the value of attribute adapter_method



4
5
6
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb', line 4

def adapter_method
  @adapter_method
end

- (Object) config (readonly)

Returns the value of attribute config



4
5
6
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb', line 4

def config
  @config
end