Interface for very simple trees. You only have to implement parent (returns the single parent of the current node) and children (returns an Array of all the children of this node) and initialize. Drop this class in via include and presto!
Required Ruby Version
>= 0
Authors
Jason M. Adams
Versions
- 0.1.0 August 11, 2014 (5 KB)