Class: OneToMany::Relationship
- Inherits:
-
Object
- Object
- OneToMany::Relationship
- Includes:
- DataMapper::Constraints::DeleteConstraint, DataMapper::Hook
- Defined in:
- lib/dm-constraints/relationships.rb
Instance Attribute Summary collapse
-
#constraint ⇒ Object
readonly
Returns the value of attribute constraint.
Method Summary
Methods included from DataMapper::Constraints::DeleteConstraint
#add_constraint_option, included
Instance Attribute Details
#constraint ⇒ Object (readonly)
Returns the value of attribute constraint.
14 15 16 |
# File 'lib/dm-constraints/relationships.rb', line 14 def constraint @constraint end |