Class: PrChangelog::BaseCommitStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/pr_changelog/base_commit_strategy.rb

Overview

A “protocol”-like base class for the extracting the change commit strategies

Direct Known Subclasses

MergeCommitStrategy, SquashCommitStrategy

Instance Method Summary collapse

Instance Method Details

#format_commit(_commit_line) ⇒ Object



10
11
12
# File 'lib/pr_changelog/base_commit_strategy.rb', line 10

def format_commit(_commit_line)
  raise 'Not implemented'
end

#parsed_commitsObject



6
7
8
# File 'lib/pr_changelog/base_commit_strategy.rb', line 6

def parsed_commits
  raise 'Not implemented'
end