class Hooks::HandlerPair(T)

Overview

Associates a handler with its identifier

Defined in:

hooks/hook.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, handler : Hooks::Handler(T)) #

[View source]

Instance Method Detail

def handler : Handler(T) #

[View source]
def handler=(handler : Handler(T)) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]