Class: Tree::ArrayTree

Overview

A regular tree

Direct Known Subclasses

FilteredArrayTree

Instance Attribute Summary

Attributes included from InternalChildrenArrayImplementation

#children

Attributes included from InternalParentImplementation

#parent

Class Method Summary collapse

Methods included from DownTreeFilteredAlgorithms

#accumulate, #aggregate, #choose, #descendants, #each, #edges, #nodes, #pairs, #postorder, #preorder, #select, #size, #traverse

Methods included from BranchesProperty

#bare?, #branches, #each_branch

Methods included from NodeProperty

#node, #node_value

Methods included from UpTreeAlgorithms

#ancestors, #depth, #parents

Methods included from InternalParentChildArrayImplementation

#append, #insert, #replace

Methods included from InternalParentChildImplementation

#attach, #initialize

Methods included from ChildrenProperty

#attach, #children, #detach, #each_child

Methods included from ParentProperty

#parent, #parent=

Methods included from InternalChildrenArrayImplementation

#append, #attach, #detach, #each_child, #initialize, #insert, #replace

Methods included from InternalChildrenImplementation

#attach, #branches, #each_branch

Methods included from ChildrenImplementation

#attach

Methods included from Implementation

#initialize

Methods included from InternalImplementation

#node, #node_value, #this

Methods included from InternalParentImplementation

#initialize

Methods included from StemProperty

#stem

Methods inherited from AbstractTree

#empty?, #size

Class Method Details

.filter(*args) ⇒ Object



52
# File 'lib/modular_tree.rb', line 52

def self.filter(*args) = DownTreeAlgorithms.filter(*args)