Class: Anchorman::CommitFormatter
- Inherits:
-
Object
- Object
- Anchorman::CommitFormatter
- Defined in:
- lib/anchorman/commit_formatter.rb
Instance Method Summary collapse
Instance Method Details
#format(commit) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/anchorman/commit_formatter.rb', line 4 def format(commit) note = "* #{(commit.)}\n" note << " * SHA: #{commit.sha}\n" note << " * #{commit..name}, #{commit..email}\n" note end |