Method: Kamal::Commands::Hook#hook_exists?

Defined in:
lib/kamal/commands/hook.rb

#hook_exists?(hook) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/kamal/commands/hook.rb', line 6

def hook_exists?(hook)
  Pathname.new(hook_file(hook)).exist?
end