   _getInValues: ->
     return @values
 
-  toString: ->
-    switch @values.length
-      when 0 then return "Nothing"
-      when 1 then return "#{@attribute} is #{@values[0]}"
-      when 2 then return "#{@attribute} is either #{@values[0]} or #{@values[1]}"
-      else return "#{@attribute} is one of: #{specialJoin(@values, ', ', ', or ')}"
-
   valueOf: ->
     filter = super
     filter.attribute = @attribute


  _getInValues: ->
    return [@value]

  toString: ->
    return "#{@attribute} is #{@value}"

  valueOf: ->
    filter = super


    throw new Error('invalid range') if isNaN(@range[0]) or isNaN(@range[1])

  valueOf: ->
    filter = super
    filter.attribute = @attribute
