lib/catissue/domain/storage_container.rb
def can_hold_child?(storable)
      st = storable.storable_type
      not full? and child_types.any? { |ct| Jinx::Resource.value_equal?(ct, st) }
    end
def can_hold_child?(storable)
      st = storable.storable_type
      not full? and child_types.any? { |ct| Jinx::Resource.value_equal?(ct, st) }
    end
def can_hold_child? ( storable ) st = storable . storable_type not full? and child_types . any? { | ct | Jinx :: Resource . value_equal? ( ct , st ) } end
Overrides {Container#can_hold_child?} to detect account for the potential instance-specific
 {StorageTypeHolder#child_types} override allowed by caTissue.

 @param [Storable] (see #add)
 @return [Boolean] whether this container is not full and can hold the given item's
   {CaTissue::StorageType}
Overrides { Container#can_hold_child? } to detect account for the potential instance - specific { StorageTypeHolder#child_types } override allowed by caTissue .