Class | DataMapper::RelationshipSet |
In: |
lib/dm-core/relationship_set.rb
|
Parent: | SubjectSet |
A {SubjectSet} that keeps track of relationships defined in a {Model}
A list of all relationships in this set
@deprecated use DataMapper::RelationshipSet#each instead
@yield [DataMapper::Associations::Relationship]
all relationships in the set
@yieldparam [DataMapper::Associations::Relationship] relationship
a relationship in the set
@return [RelationshipSet] self
@api semipublic
Check wether this RelationshipSet includes an entry with the given name
@deprecated use DataMapper::RelationshipSet#named? instead
@param [to_s] name
the name of the entry to look for
@return [Boolean]
true if the set contains a relationship with the given name
@api semipublic
Check wether this RelationshipSet includes an entry with the given name
@deprecated use DataMapper::RelationshipSet#named? instead
@param [to_s] name
the name of the entry to look for
@return [Boolean]
true if the set contains a relationship with the given name
@api semipublic