Method: PreCommit::Installer#hook

Defined in:
lib/pre-commit/installer.rb

#hookObject


17
18
19
# File 'lib/pre-commit/installer.rb', line 17

def hook
  templates[key.sub(/^--/, "")]
end