lib/catissue/domain/container_type.rb
def merge_attributes(other, attributes=nil, matches=nil, &filter)
      if Hash === other then
        # partition the other hash into the Capacity attributes and ContainerType attributes
        cph, other = other.split { |key, value| key == :rows or key == :columns }
        self.capacity ||= CaTissue::Capacity.new(cph).add_defaults unless cph.empty?
      end
      super
    end
def merge_attributes(other, attributes=nil, matches=nil, &filter)
      if Hash === other then
        # partition the other hash into the Capacity attributes and ContainerType attributes
        cph, other = other.split { |key, value| key == :rows or key == :columns }
        self.capacity ||= CaTissue::Capacity.new(cph).add_defaults unless cph.empty?
      end
      super
    end
Override default +Jinx::Resource.merge_attributes+ to support the Capacity :rows and +:columns+
 pseudo-attributes.

 @quirk JRuby Subclasses do not pick up this class's Resource method overrides.
   Specimen picks up the AbstractSpecimen Resource overrides, but ContainerType subclasses do
   not pick up ContainerType Resource overrides. Work-around is that each ContainerType
   subclass must alias +merge_attributes+ to this method.

 @param (see Jinx::Mergeable#merge_attributes)