code: function(str, methodDec, methodName, method, methodsMap, options){
      var methodValue = getMethodValue(methodDec, methodName, method, methodsMap, options);
      if(str === methodDec) return methodValue;
      return str.replace(methodDec, function(){ return methodValue; });
    }
docs: invokes a single method and replaces its value in the string