summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2017-01-26 22:11:40 -0800
committerGitHub <[email protected]>2017-01-26 22:11:40 -0800
commitf443012c63bc8e5f086358479210b4da11b161ee (patch)
tree61b6b37b091b7cd2d115e22088064b88d363463a /lib
parent4caa5e98ac14feeb8dcb4cf6af4add4aaf228628 (diff)
parenta1bca6e247872d93d2d3b10ed36f2a3800edda8a (diff)
downloadyard-mruby-f443012c63bc8e5f086358479210b4da11b161ee.tar.gz
yard-mruby-f443012c63bc8e5f086358479210b4da11b161ee.zip
Merge pull request #16 from jmhmccr/yard-0-9-compatibility
Update to Yard >= 0.9.0
Diffstat (limited to 'lib')
-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