class Thyme::HookCollection

Overview

Neatly holds multiple Thyme::Hook, categorizing them by their events. The same hook may belong to multiple categories.

Defined in:

thyme/hook_collection.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(hooks = Array(Hook).new) #

[View source]

Class Method Detail

def self.parse(hooks : YAML::Any) #

Given YAML from the THYMERC_FILE, returns a HookCollection with hooks parsed and neatly sorted


[View source]

Instance Method Detail

def after(hooks_args) #

[View source]
def after_all(hooks_args) #

[View source]
def after_break(hooks_args) #

[View source]
def before(hooks_args) #

[View source]
def before_all(hooks_args) #

[View source]
def before_break(hooks_args) #

[View source]
def size #

[View source]