         result.push(endWrap) if endMatched?
         result.push char
         result.push(beginWrap) if beginMatched?
+
+      # console.log 'original'
+      # console.log fn.toString()
+      # console.log 'result'
+      # console.log result.join('')
 
       eval "(#{result.join('')});"
 

            parentheses.push char
          when char == ')' and inDSLParams? and !inString?
            inDSLParams = parentheses.pop()
            endMatched = !inDSLParams?
          when char.match /'|"/ and inDSLParams? and strings.indexOf(char) < 0
            strings.push(char)
            inString = true
          when char.match /'|"/ and inDSLParams?
            inString = strings.splice(strings.indexOf(char), 1).length > 0

      return '' unless fn?
      result = []

        dump.push char
        beginMatched = undefined if beginMatched?
        endMatched = undefined if endMatched?
        inDSLParams = undefined if inDSLParams? and inDSLParams == false
        inString = undefined if inString? and inString == false

        switch
          when dump.buffer() == '.is('
