Sha256: ca8c9685bca497090bf9dc9cd897c779b2d8c391d6dd7073e8ca0efb1cfd3254

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module PrChangelog
  # A "protocol"-like base class for the extracting the change commit strategies
  class BaseCommitStrategy
    def parsed_commits
      raise 'Not implemented'
    end

    def format_commit(_commit_line)
      raise 'Not implemented'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pr_changelog-0.4.1 lib/pr_changelog/base_commit_strategy.rb
pr_changelog-0.4.0 lib/pr_changelog/base_commit_strategy.rb