Class: Sequel::Model::Associations::ManyToOneAssociationReflection

Inherits:
Object
  • Object
show all
Defined in:
lib/clevic/sequel_ar_adapter.rb

Instance Method Summary collapse

Instance Method Details

#class_nameObject

return class for this side of the association



169
170
171
# File 'lib/clevic/sequel_ar_adapter.rb', line 169

def class_name
  self[:class_name]
end

#klassObject

return class for the other side of the association



174
175
176
# File 'lib/clevic/sequel_ar_adapter.rb', line 174

def klass
  eval class_name
end