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
-
#initialize(klass, *args) ⇒ Connection
constructor
A new instance of Connection.
Constructor Details
#initialize(klass, *args) ⇒ Connection
Returns a new instance of Connection.
22 23 24 25 |
# File 'lib/active_scaffold/tableless.rb', line 22 def initialize(klass, *args) super(nil, *args) @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
21 22 23 |
# File 'lib/active_scaffold/tableless.rb', line 21 def klass @klass end |