class Shoulda::Matchers::ActiveModel::ValidateExclusionOfMatcher

def matches?(subject)

def matches?(subject)
  super(subject)
  if @range
    allows_lower_value &&
      disallows_minimum_value &&
      disallows_maximum_value &&
      allows_higher_value
  elsif @array
    disallows_all_values_in_array?
  end
end