lib/catissue/resource.rb
def tolerant_match?(other, attributes)
      attributes.all? { |pa| Resource.tolerant_value_match?(send(pa), other.send(pa)) }
    end
def tolerant_match?(other, attributes)
      attributes.all? { |pa| Resource.tolerant_value_match?(send(pa), other.send(pa)) }
    end
def tolerant_match? ( other , attributes ) attributes . all? { | pa | Resource . tolerant_value_match? ( send ( pa ) , other . send ( pa ) ) } end
Returns whether each of the given attribute values either equals the
 respective other attribute value or one of the values is nil or 'Not Specified'.

 @param [Resource] other the domain object to compare
 @param [<Symbol>] attributes the  attributes to compare
 @return [Boolean} whether this domain object is a tolerant match with the other
   domain object on the given attributes
Returns whether each of the given attribute values either equals the respective other attribute value or one of the values is nil or Not Specified .