                 [key, refracted]
         when Array
             _.map template, refract
-        else
+        when String
             value = requote template
             try
                 refracted = evaluate value, sandbox: context

###

requote = (value) ->
    return value unless typeof value is 'string'

    quoted = value.match /^'.*'$/
    slashes = value.match /^\/.*\/$/


            
            update refracted
            refracted
        else
            template


module.exports.defaultHelpers = _.extend {}, _, _.str
