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”



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

def name
  self[:name]
end