Class: MassiveRecord::Wrapper::TablesCollection
- Inherits:
-
Array
- Object
- Array
- MassiveRecord::Wrapper::TablesCollection
- Defined in:
- lib/massive_record/wrapper/tables_collection.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
Instance Method Summary collapse
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
5 6 7 |
# File 'lib/massive_record/wrapper/tables_collection.rb', line 5 def connection @connection end |
Instance Method Details
#load(table_name) ⇒ Object
7 8 9 |
# File 'lib/massive_record/wrapper/tables_collection.rb', line 7 def load(table_name) ADAPTER::Table.new(connection, table_name) end |