summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-28 14:20:51 -0300
committerSeba Gamboa <[email protected]>2015-09-28 14:20:51 -0300
commite828d77bac65e9cfab235aa53061b99837175a57 (patch)
treef03242a8952d4445a5e8551fe3a21c95b7ff09e9
parentb69f8455a7659d3f24dbb8e47ac6745cad3b9bd7 (diff)
downloadyard-mruby-e828d77bac65e9cfab235aa53061b99837175a57.tar.gz
yard-mruby-e828d77bac65e9cfab235aa53061b99837175a57.zip
Function path should return a String
-rw-r--r--lib/yard/mruby/code_objects/function_object.rb2
1 files changed, 1 insertions, 1 deletions
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