code: function( patterns, options ){
  
          options = options || {};
  
          var deferred = Q.defer(),
              updateHTMLFile = this.updateHTMLFile,
              results = {
                  success: [],
                  error: []
              };
  
          globby( patterns, options, function( err, files ){
              if( err ){
                  deferred.reject( err );
                  return;
              }
  
              files.reduce( function( previousUpdating, currentTargetFilePath ){
                  return previousUpdating.then(
                      function( previousPath ){
                          if( previousPath ){
                              results.success.push( previousPath );
                          }
                          return updateHTMLFile( currentTargetFilePath );
                      }
                  );
              }, Q() )
                  .then(
                      function( lastPath ){
                          results.success.push( lastPath );
                          deferred.resolve( results );
                      },
                      function( e ){
                          deferred.reject( e );
                      }
                  );
          } );
  
          return deferred.promise;
      }
docs: 任意の複数のHTMLファイルについて、更新処理を実行する。
  @param {String|Array} patterns
  @param {Object} [options] pass to globby
  @return {promise|*|Q.promise}