Module: Compo::Branches
- Defined in:
- lib/compo/branches.rb,
lib/compo/branches/hash.rb,
lib/compo/branches/leaf.rb,
lib/compo/branches/array.rb,
lib/compo/branches/branch.rb,
lib/compo/branches/constant.rb
Overview
Module implementing the branch classes
A branch is a fully-featured part of a Compo composite object. It tracks both children (if applicable) and its parent (if any), and supports a range of helper methods for traversing the composite tree.