Class: Ar2gostruct::Builder::ORM::Base
- Inherits:
-
Object
- Object
- Ar2gostruct::Builder::ORM::Base
- Defined in:
- lib/ar2gostruct/builder/orm/base.rb
Constant Summary collapse
- TAG_SEPARATOR =
","
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
Instance Method Summary collapse
-
#initialize(klass) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(klass) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/ar2gostruct/builder/orm/base.rb', line 7 def initialize(klass) @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
10 11 12 |
# File 'lib/ar2gostruct/builder/orm/base.rb', line 10 def klass @klass end |