summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/code_objects/function_object.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yard/mruby/code_objects/function_object.rb')
-rw-r--r--lib/yard/mruby/code_objects/function_object.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/yard/mruby/code_objects/function_object.rb b/lib/yard/mruby/code_objects/function_object.rb
index 60ff951..0a835b5 100644
--- a/lib/yard/mruby/code_objects/function_object.rb
+++ b/lib/yard/mruby/code_objects/function_object.rb
@@ -6,6 +6,10 @@ module YARD::MRuby::CodeObjects
super
end
+ def header
+ self.namespace
+ end
+
# Function's shouln't be namespaced
def path
self.name