   constructor: (@el, @type, @model, @keypath, @options = {}) ->
     @routine = switch @options.special
       when "event"     then eventBinding @type
+      when "class"     then classBinding @type
       when "iteration" then iterationBinding @type
       else Rivets.routines[@type] || attributeBinding @type
 

eventBinding = (event) -> (el, bind, unbind) ->
  bindEvent el, event, bind if bind
  unbindEvent el, event, unbind if unbind

# Returns an iteration binding routine for the specified collection.
iterationBinding = (name) -> (el, collection, binding) ->

    iterator = null
    bindingRegExp = @bindingRegExp()
    eventRegExp = /^on-/
    classRegExp = /^class-/
    iterationRegExp = /^each-/

    parseNode = (node) =>
