Method: YARD::CodeObjects::Proxy#path

Defined in:
lib/yard/code_objects/proxy.rb

#pathString Also known as: to_s, to_str, title

If the proxy resolves to an object, returns its path, otherwise guesses at the correct path using the original namespace and name.

Returns:

  • (String)

    the assumed path of the proxy (or the real path of the resolved object)


100
101
102
# File 'lib/yard/code_objects/proxy.rb', line 100

def path
  to_obj ? to_obj.path : proxy_path
end