Exception: GitHooks::Exceptions::UnknowHookPresent

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/git_hooks/exceptions/unknown_hook_present.rb

Instance Method Summary collapse

Constructor Details

#initialize(hook) ⇒ UnknowHookPresent

Returns a new instance of UnknowHookPresent.



4
5
6
# File 'lib/git_hooks/exceptions/unknown_hook_present.rb', line 4

def initialize(hook)
  super "There is a unknown #{hook} hook. If you are sure, use --force."
end