Module: TreeBranch
- Defined in:
- lib/tree_branch/node.rb,
lib/tree_branch/version.rb,
lib/tree_branch/processor.rb,
lib/tree_branch/comparator.rb,
lib/tree_branch/simple_node.rb,
lib/tree_branch/tree_branch.rb
Overview
Top-level namespace of the library. The methods contained here should be considered the main public API.
Defined Under Namespace
Classes: Comparator, Node, Processor, SimpleNode
Constant Summary collapse
- VERSION =
'1.1.1'
Class Method Summary collapse
Class Method Details
.process(node: {}, context: {}, comparators: [], &block) ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'lib/tree_branch/tree_branch.rb', line 22 def process(node: {}, context: {}, comparators: [], &block) ::TreeBranch::Processor.new .process( normalize_node(node), context: context, comparators: comparators, &block ) end |