Class: CaTissue::AbstractSpecimenCollectionGroup
- Inherits:
-
Object
- Object
- CaTissue::AbstractSpecimenCollectionGroup
- Defined in:
- lib/catissue/domain/abstract_specimen_collection_group.rb
Instance Method Summary collapse
-
#each_dependent ⇒ Object
Overrides
Jinx::Resource.each_dependent
to exclude Specimens or SpecimenRequirements with a parent, since the parent is the immediate Specimen or SpecimenRequirement owner.
Instance Method Details
#each_dependent ⇒ Object
Overrides Jinx::Resource.each_dependent
to exclude Specimens or SpecimenRequirements with a parent, since the parent is the immediate Specimen or SpecimenRequirement owner.
22 23 24 |
# File 'lib/catissue/domain/abstract_specimen_collection_group.rb', line 22 def each_dependent super { |dep| yield dep unless AbstractSpecimen === dep and dep.parent } end |