    # File lib/yard/templates/engine.rb, line 52
            def template!(path, full_paths = nil)
              full_paths ||= [path]
              full_paths = [full_paths] unless full_paths.is_a?(Array)
              name = template_module_name(full_paths.first)
              begin; return const_get(name); rescue NameError; end

              mod = const_set(name, Module.new)
              mod.send(:include, Template)
              mod.send(:initialize, path, full_paths)
              mod
            end