struct Oak::Tree(T)
- Oak::Tree(T)
- Struct
- Value
- Object
Included Modules
- Enumerable(Oak::Result(T))
Defined in:
oak/tree.crConstructors
Instance Method Summary
- #add(*args, **options)
- #add(*args, **options, &)
-
#each(*args, **options)
Iterate over each result
-
#each(*args, **options, &)
Iterate over each result
-
#find(path)
Finds the first matching result.
- #initialize
-
#results
Lists all the results possible within the entire tree.
- #root
-
#search(path)
Searchs the Node and returns all results as an array.
-
#search(path, &block : Result(T) -> _)
Searches the Node and yields each result to the block.
- #visualize(*args, **options)
- #visualize(*args, **options, &)
Constructor Detail
Instance Method Detail
Searches the Node and yields each result to the block.