Class: CaTissue::AbstractSpecimenCollectionGroup
- Inherits:
-
Object
- Object
- CaTissue::AbstractSpecimenCollectionGroup
- Includes:
- Resource
- Defined in:
- lib/catissue/domain/abstract_specimen_collection_group.rb
Instance Method Summary collapse
-
#each_dependent ⇒ Object
Overrides CaRuby::Resource#each_dependent to exclude Specimens or SpecimenRequirements with a parent, since parent is the immediate Specimen or SpecimenRequirement owner.
Methods included from Resource
#database, included, #tolerant_match?
Methods included from Annotatable
#annotation_proxy, #create_proxy, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CaTissue::Annotatable
Instance Method Details
#each_dependent ⇒ Object
Overrides CaRuby::Resource#each_dependent to exclude Specimens or SpecimenRequirements with a parent, since parent is the immediate Specimen or SpecimenRequirement owner.
18 19 20 |
# File 'lib/catissue/domain/abstract_specimen_collection_group.rb', line 18 def each_dependent super { |dep| yield dep unless AbstractSpecimen === dep and dep.parent } end |