Method: Inch::CodeObject::Proxy::Base#parent

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

#parentArray?

Returns the parent of the current object or nil.

Returns:

  • (Array, nil)

    the parent of the current object or nil



156
157
158
# File 'lib/inch/code_object/proxy/base.rb', line 156

def parent
  object_lookup.find( self[:parent_fullname] )
end