Class: Reactive::MetaModel::Association

Inherits:
Object
  • Object
show all
Defined in:
lib/reactive-core/meta_model.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnsObject (readonly)

returns an array of column names that are handled by the association By default, foreign keys are in this array, counter cache and also _type columns for polymorphic assocations may be there too.



40
41
42
# File 'lib/reactive-core/meta_model.rb', line 40

def columns
  @columns
end

#kindObject (readonly)

Returns the value of attribute kind.



34
35
36
# File 'lib/reactive-core/meta_model.rb', line 34

def kind
  @kind
end

#klassObject (readonly)

Returns the value of attribute klass.



34
35
36
# File 'lib/reactive-core/meta_model.rb', line 34

def klass
  @klass
end

#nameObject (readonly)

Returns the value of attribute name.



34
35
36
# File 'lib/reactive-core/meta_model.rb', line 34

def name
  @name
end

#polymorphicObject (readonly) Also known as: polymorphic?

Returns the value of attribute polymorphic.



34
35
36
# File 'lib/reactive-core/meta_model.rb', line 34

def polymorphic
  @polymorphic
end