struct Oak::Tree(T)

Included Modules

Defined in:

oak/tree.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add(*args, **options) #

[View source]
def add(*args, **options, &) #

[View source]
def each(*args, **options) #

Iterate over each result


[View source]
def each(*args, **options, &) #

Iterate over each result


[View source]
def find(path) #

Finds the first matching result.


[View source]
def initialize #

[View source]
def results #

Lists all the results possible within the entire tree.


[View source]
def root #

[View source]
def search(path) #

Searchs the Node and returns all results as an array.


[View source]
def search(path, &block : Result(T) -> _) #

Searches the Node and yields each result to the block.


[View source]
def visualize(*args, **options) #

[View source]
def visualize(*args, **options, &) #

[View source]