Exception: GitHooks::Exceptions::UnknowHookPresent
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- GitHooks::Exceptions::UnknowHookPresent
- Defined in:
- lib/git_hooks/exceptions/unknown_hook_present.rb
Instance Method Summary collapse
-
#initialize(hook) ⇒ UnknowHookPresent
constructor
A new instance of UnknowHookPresent.
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 |