code: function (path) {
          var self = this;
  
          path = /^(.*?)\/?(\w+)?$/.exec(path);
  
          // Update path parts
          self.path = path[0];
          self.directory = path[1];
          self.file = path[2];
  
          // Rebuild source
          self.source = '';
          self.getURI();
        }
docs: Sets the internal path part of the URI.
  
  @method setPath
  @param {string} path Path string to set.