Method: Inch::CodeObject::Proxy::Base#name

Defined in:
lib/inch/code_object/proxy/base.rb

#nameString

Returns the name of an object, e.g. “Docstring”.

Returns:

  • (String)

    the name of an object, e.g. “Docstring”



103
104
105
# File 'lib/inch/code_object/proxy/base.rb', line 103

def name
  self[:name]
end