Class: ActiveScaffold::Tableless::Connection
- Inherits:
-
ActiveRecord::ConnectionAdapters::AbstractAdapter
- Object
- ActiveRecord::ConnectionAdapters::AbstractAdapter
- ActiveScaffold::Tableless::Connection
- Defined in:
- lib/active_scaffold/tableless.rb
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
Instance Method Summary collapse
- #columns(table_name) ⇒ Object
- #data_sources ⇒ Object
-
#initialize(klass, *args) ⇒ Connection
constructor
A new instance of Connection.
Constructor Details
#initialize(klass, *args) ⇒ Connection
Returns a new instance of Connection.
11 12 13 14 |
# File 'lib/active_scaffold/tableless.rb', line 11 def initialize(klass, *args) super(nil, *args) @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
10 11 12 |
# File 'lib/active_scaffold/tableless.rb', line 10 def klass @klass end |