Module: Compo::Composites

Defined in:
lib/compo/composites.rb,
lib/compo/composites/hash.rb,
lib/compo/composites/leaf.rb,
lib/compo/composites/array.rb,
lib/compo/composites/composite.rb,
lib/compo/composites/parentless.rb

Overview

Submodule containing implementations of composite objects

These classes only implement the concept of an object containing children, and those children being stored in such a way that they can be retrieved by ID. For the full Compo experience, including parent tracking, URL referencing, and moving of objects between parents, see the Branches submodule.

The Composites are the lowest level of Compo; everything else is an extension to them.

Defined Under Namespace

Modules: Composite Classes: Array, Hash, Leaf, Parentless