summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/code_objects/headers_root.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yard/mruby/code_objects/headers_root.rb')
-rw-r--r--lib/yard/mruby/code_objects/headers_root.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/yard/mruby/code_objects/headers_root.rb b/lib/yard/mruby/code_objects/headers_root.rb
index 45806ff..6522c9a 100644
--- a/lib/yard/mruby/code_objects/headers_root.rb
+++ b/lib/yard/mruby/code_objects/headers_root.rb
@@ -4,8 +4,11 @@ module YARD::MRuby::CodeObjects
def headers
children
end
+
+ def inheritance_tree(*args)
+ return [self]
+ end
end
HEADERS_ROOT = HeadersRoot.new(:root, "headers")
-
end