code: function( pathToHTMLFile ){
          var deferred = Q.defer(),
              targetHTML = new TargetHTML( pathToHTMLFile );
  
          targetHTML.init()
              .then( function( targetHTML ){ return this.getTemplate( targetHTML.detectTemplateId() ); }.bind( this ) )
              .then( function( template ){ return template.generateCode( targetHTML.pickOutValues(), pathToHTMLFile ); } )
              .then( function( HTMLCode ){ return targetHTML.update( HTMLCode ); } )
              .catch( function( error ){ deferred.reject( error ); } )
              .finally( function(){ deferred.resolve( pathToHTMLFile ); } );
  
          return deferred.promise;
      }
docs: 任意のHTMLファイル1点について、更新処理を実行する。
  @param {String} pathToHTMLFile
  @return {promise|*|Q.promise}