summaryrefslogtreecommitdiffhomepage
path: root/templates/default/fulldoc/html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/default/fulldoc/html')
-rw-r--r--templates/default/fulldoc/html/setup.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/default/fulldoc/html/setup.rb b/templates/default/fulldoc/html/setup.rb
index 43e1e15..0199557 100644
--- a/templates/default/fulldoc/html/setup.rb
+++ b/templates/default/fulldoc/html/setup.rb
@@ -51,12 +51,12 @@ end
# This method removes the namespace from the root node, generates the class list,
# and then adds it back into the root node.
#
-def class_list(root = Registry.root)
+def class_list(root = Registry.root, tree = TreeContext.new)
return super unless root == Registry.root
include_namespace = YARD::MRuby::CodeObjects::HEADERS_ROOT
root.instance_eval { children.delete include_namespace }
- out = super(root)
+ out = super(root, tree)
root.instance_eval { children.push include_namespace }
out
end