class Shoulda::Matchers::ActiveModel::ValidateExclusionOfMatcher

def simple_description

def simple_description
  if @range
    "validate that :#{@attribute} lies outside the range " +
      Shoulda::Matchers::Util.inspect_range(@range)
  else
    description = "validate that :#{@attribute}"
    description <<
      if @array.many?
        " is neither #{inspected_array}"
      else
        " is not #{inspected_array}"
      end
    description
  end
end