Method: YARD::CodeObjects::Proxy#inspect

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

#inspectString

Returns a text representation of the Proxy

Returns:

  • (String)

    the object’s #inspect method or P(OBJECTPATH)



91
92
93
# File 'lib/yard/code_objects/proxy.rb', line 91

def inspect
  to_obj ? to_obj.inspect : "P(#{path})"
end