summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/code_objects/headers_root.rb
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-25 13:12:22 -0300
committerSeba Gamboa <[email protected]>2015-09-25 13:12:22 -0300
commit48fb10fef522ab9262061bc612b44d74a8bda17d (patch)
treec48dcb77245e4a6b15af4366e96c31d6eb1cdd93 /lib/yard/mruby/code_objects/headers_root.rb
parente0e43a79d282d69f2f45d5cf71e0e1154357d181 (diff)
downloadyard-mruby-48fb10fef522ab9262061bc612b44d74a8bda17d.tar.gz
yard-mruby-48fb10fef522ab9262061bc612b44d74a8bda17d.zip
Listing functions
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