From e828d77bac65e9cfab235aa53061b99837175a57 Mon Sep 17 00:00:00 2001 From: Seba Gamboa Date: Mon, 28 Sep 2015 14:20:51 -0300 Subject: Function path should return a String --- lib/yard/mruby/code_objects/function_object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/yard/mruby/code_objects') diff --git a/lib/yard/mruby/code_objects/function_object.rb b/lib/yard/mruby/code_objects/function_object.rb index c726762..7d85439 100644 --- a/lib/yard/mruby/code_objects/function_object.rb +++ b/lib/yard/mruby/code_objects/function_object.rb @@ -20,7 +20,7 @@ module YARD::MRuby::CodeObjects # Function's shouln't be namespaced def path - self.name + self.name.to_s end def attr_info -- cgit v1.2.3