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.
29 30 31 32 |
# File 'lib/active_scaffold/tableless.rb', line 29 def initialize(klass, *args) super(nil, *args) @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
28 29 30 |
# File 'lib/active_scaffold/tableless.rb', line 28 def klass @klass end |