Sha256: 2a69efe800bd274adcd143c5e43ab99fc21bcc8be35d019f8cd38ad7763163dc

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

require 'forwardable'

module Overcommit::Hook::PostCommit
  # Functionality common to all post-commit hooks.
  class Base < Overcommit::Hook::Base
    extend Forwardable

    def_delegators :@context, :modified_files_last_commit,
                   :modified_lines_in_file_last_commit
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jawshooah-overcommit-0.22.0 lib/overcommit/hook/post_commit/base.rb