Class: OneToMany::Relationship

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Constraints::DeleteConstraint, DataMapper::Hook
Defined in:
lib/dm-constraints/relationships.rb

Instance Attribute Summary collapse

Method Summary

Methods included from DataMapper::Constraints::DeleteConstraint

#add_constraint_option, included

Instance Attribute Details

#constraintObject (readonly)

Returns the value of attribute constraint.



14
15
16
# File 'lib/dm-constraints/relationships.rb', line 14

def constraint
  @constraint
end