Method: Overcommit::HookContext::Base#setup_environment

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

#setup_environmentObject

Initializes anything related to the environment.

This is called before the hooks are run by the [HookRunner]. Different hook types can perform different setup.



39
40
41
# File 'lib/overcommit/hook_context/base.rb', line 39

def setup_environment
  # Implemented by subclass
end