Method: YARD::CodeObjects::Proxy#class
- Defined in:
- lib/yard/code_objects/proxy.rb
#class ⇒ Class
Returns the class name of the object the proxy is mimicking, if resolved. Otherwise returns Proxy
.
142 143 144 |
# File 'lib/yard/code_objects/proxy.rb', line 142 def class to_obj ? to_obj.class : Proxy end |