class Thyme::HookCollection
- Thyme::HookCollection
- Reference
- Object
Overview
Neatly holds multiple Thyme::Hook, categorizing them by their events. The same hook may belong to multiple categories.
Defined in:
thyme/hook_collection.crConstructors
Class Method Summary
-
.parse(hooks : YAML::Any)
Given YAML from the THYMERC_FILE, returns a HookCollection with hooks parsed and neatly sorted
Instance Method Summary
- #after(hooks_args)
- #after_all(hooks_args)
- #after_break(hooks_args)
- #before(hooks_args)
- #before_all(hooks_args)
- #before_break(hooks_args)
- #size
Constructor Detail
Class Method Detail
def self.parse(hooks : YAML::Any)
#
Given YAML from the THYMERC_FILE, returns a HookCollection with hooks parsed and neatly sorted