templates/default/method_details/text/setup.rb in yard-0.4.0 vs templates/default/method_details/text/setup.rb in yard-0.5.0
- old
+ new
@@ -3,8 +3,8 @@
sections.last.pop
end
def format_object_title(object)
title = "Method: #{object.name(true)}"
- title += " (#{object.namespace})" if object.namespace != Registry.root
+ title += " (#{object.namespace})" if !object.namespace.root?
title
end
\ No newline at end of file