Method: Overcommit::Hook::Base#initialize

Defined in:
lib/overcommit/hook/base.rb

#initialize(config, context) ⇒ Base

Returns a new instance of Base.

Parameters:



27
28
29
30
# File 'lib/overcommit/hook/base.rb', line 27

def initialize(config, context)
  @config = config.for_hook(self)
  @context = context
end