struct Oak::Result(T)

Defined in:

oak/result.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new #

[View source]

Instance Method Detail

def found? #

[View source]
def key #

The full resulting key.


[View source]
def params #

The named params found in the result.


[View source]
def payload #

Returns the first payload in the result.


[View source]
def payload? #

[View source]
def payloads #

The matching payloads of the result.


[View source]