class ActiveSupport::Callbacks::Callback

def duplicates?(other)

def duplicates?(other)
  case @filter
  when Symbol
    matches?(other.kind, other.filter)
  else
    false
  end
end