# File lib/yard/templates/template.rb, line 166
      def initialize(opts = TemplateOptions.new)
        opts_class = opts.class
        opts_class = TemplateOptions if opts_class == Hash
        @cache, @cache_filename = {}, {}
        @sections, @options = [], opts_class.new
        add_options(opts)
        Template.include_extra(self, options)
        init
      end