Class: ActiveRecord::Base::ConnectionSpecification
- Inherits:
-
Object
- Object
- ActiveRecord::Base::ConnectionSpecification
- Defined in:
- lib/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#adapter_method ⇒ Object
readonly
Returns the value of attribute adapter_method.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config, adapter_method) ⇒ ConnectionSpecification
constructor
A new instance of ConnectionSpecification.
Constructor Details
#initialize(config, adapter_method) ⇒ ConnectionSpecification
Returns a new instance of ConnectionSpecification.
5 6 7 |
# File 'lib/gems/activerecord-2.2.2/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
#adapter_method ⇒ Object (readonly)
Returns the value of attribute adapter_method.
4 5 6 |
# File 'lib/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb', line 4 def adapter_method @adapter_method end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb', line 4 def config @config end |