    # File lib/yard/templates/engine.rb, line 34
            def template(*path)
              from_template = nil
              from_template = path.shift if path.first.is_a?(Template)
              path = path.join('/')
              full_paths = find_template_paths(from_template, path)

              path = File.cleanpath(path).gsub('../', '')
              raise ArgumentError, "No such template for #{path}" if full_paths.empty?
              mod = template!(path, full_paths)

              mod
            end