lib/yard/templates/engine.rb in yard-0.9.0 vs lib/yard/templates/engine.rb in yard-0.9.1

- old
+ new

@@ -16,10 +16,10 @@ # Registers a new template path in {template_paths} # # @param [String] path a new template path # @return [void] def register_template_path(path) - template_paths.push path + template_paths.push(path) unless template_paths.include?(path) end # Creates a template module representing the path. Searches on disk # for the first directory named +path+ (joined by '/') within the # template paths and builds a template module for. All other matching