Module: Tree::BranchesProperty

Included in:
ChildrenImplementation, DownTreeFilteredAlgorithms, UpTreeAlgorithms
Defined in:
lib/modular_tree/properties.rb

Instance Method Summary collapse

Instance Method Details

#bare?Boolean

Returns:

  • (Boolean)


25
# File 'lib/modular_tree/properties.rb', line 25

def bare? = branches.empty?

#branchesObject



24
# File 'lib/modular_tree/properties.rb', line 24

def branches = abstract_method

#each_branch(&block) ⇒ Object



26
# File 'lib/modular_tree/properties.rb', line 26

def each_branch(&block) = branches.each(&block)