code: function(options) {
                  // Supports calling EJS without the constructor.
                  // This returns a function that renders the template.
                  if (this.constructor !== EJS) {
                      var ejs = new EJS(options);
                      return function(data, helpers) {
                          return ejs.render(data, helpers);
                      };
                  }
                  // If we get a `function` directly, it probably is coming from
                  // a `steal`-packaged view.
                  if (typeof options === 'function') {
                      this.template = {
                          fn: options
                      };
                      return;
                  }
                  // Set options on self.
                  extend(this, options);
                  this.template = this.scanner.scan(this.text, this.name);
              }
docs: ## Helper methods