Class: DataObjects::Extension
- Inherits:
-
Object
- Object
- DataObjects::Extension
- Defined in:
- lib/data_objects/extension.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
Instance Method Summary collapse
-
#initialize(connection) ⇒ Extension
constructor
A new instance of Extension.
Constructor Details
#initialize(connection) ⇒ Extension
Returns a new instance of Extension.
6 7 8 |
# File 'lib/data_objects/extension.rb', line 6 def initialize(connection) @connection = connection end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
4 5 6 |
# File 'lib/data_objects/extension.rb', line 4 def connection @connection end |