summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/code_objects
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yard/mruby/code_objects')
-rw-r--r--lib/yard/mruby/code_objects/header_object.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/yard/mruby/code_objects/header_object.rb b/lib/yard/mruby/code_objects/header_object.rb
index 2f9e7e4..45e1f5b 100644
--- a/lib/yard/mruby/code_objects/header_object.rb
+++ b/lib/yard/mruby/code_objects/header_object.rb
@@ -4,11 +4,11 @@ module YARD::MRuby::CodeObjects
# It groups C Functions and define macros.
class HeaderObject < YARD::CodeObjects::NamespaceObject
def functions
- children.find_all {|d| d.is_a?(FunctionObject) }
+ children.find_all {|d| d.is_a?(FunctionObject) }
end
def defines
- children.find_all {|d| d.is_a?(DefineObject) }
+ children.find_all {|d| d.is_a?(DefineObject) }
end
def typedefs
@@ -16,7 +16,7 @@ module YARD::MRuby::CodeObjects
end
def path
- self.name
+ self.name.to_s
end
def title