Class: Ar2gostruct::Builder::ORM::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ar2gostruct/builder/orm/base.rb

Direct Known Subclasses

GORM, QBS, Validator

Constant Summary collapse

TAG_SEPARATOR =
","

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#klassObject (readonly)

Returns the value of attribute klass.



10
11
12
# File 'lib/ar2gostruct/builder/orm/base.rb', line 10

def klass
  @klass
end