class Thyme::Hook

Defined in:

thyme/hook.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : String, events : Array(HookEvent), command : String) #

[View source]

Class Method Detail

def self.parse(name : String, hook : YAML::Any) #

[View source]

Instance Method Detail

def call(hooks_args : NamedTuple) #

[View source]
def events : Array(HookEvent) #

[View source]
def name : String #

[View source]