struct Oak::Result(T)

Defined in:

oak/result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(nodes : Array(Oak::Tree(T)), params : Hash(String, String)) #

[View source]
def self.new #

[View source]

Instance Method Detail

def key #

The full resulting key.


[View source]
def leaf #

Returns the first leaf in the result.


[View source]
def leaves #

The matching leaves of the result.


[View source]
def params #

The named params found in the result.


[View source]
def payload #

alias for #leaf.


[View source]