Method: Inch::CodeObject::Proxy::Base#children

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

#childrenArray

Returns the children of the current object.

Returns:

  • (Array)

    the children of the current object



67
68
69
70
71
# File 'lib/inch/code_object/proxy/base.rb', line 67

def children
  @children ||= self[:children_fullnames].map do |fullname|
    object_lookup.find(fullname)
  end
end