lib/yard/server/doc_server_serializer.rb in yard-0.8.1 vs lib/yard/server/doc_server_serializer.rb in yard-0.8.2
- old
+ new
@@ -13,9 +13,11 @@
def serialized_path(object)
case object
when CodeObjects::RootObject
"toplevel"
+ when CodeObjects::ExtendedMethodObject
+ serialized_path(object.namespace) + ':' + escape(object.name.to_s)
when CodeObjects::MethodObject
serialized_path(object.namespace) +
(object.scope == :instance ? ":" : ".") + escape(object.name.to_s)
when CodeObjects::ConstantObject, CodeObjects::ClassVariableObject
serialized_path(object.namespace) + "##{object.name}-#{object.type}"