# frozen_string_literal: true require 'forwardable' module Overcommit::Hook::CommitMsg # Functionality common to all commit-msg hooks. class Base < Overcommit::Hook::Base extend Forwardable def_delegators :@context, :empty_message?, :commit_message, :update_commit_message, :commit_message_lines, :commit_message_file, :modified_lines_in_file end end