Module: Overcommit::GitHook::HookRegistry

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.checksObject (readonly)

Returns the value of attribute checks.



6
7
8
# File 'lib/overcommit/hook_specific_check.rb', line 6

def checks
  @checks
end

Class Method Details

.included(base) ⇒ Object



8
9
10
# File 'lib/overcommit/hook_specific_check.rb', line 8

def included(base)
  @checks << base
end