require 'forwardable' module Overcommit::Hook::PostCommit # Functionality common to all post-commit hooks. class Base < Overcommit::Hook::Base extend Forwardable def_delegators :@context, :modified_lines_in_file, :initial_commit? end end