Module: Wlog::GitCommitPrinter
- Included in:
- InvoiceUi
- Defined in:
- lib/wlog/tech/git_commit_printer.rb
Overview
Instance Method Summary collapse
Instance Method Details
#print_git_commits(commit_a) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/wlog/tech/git_commit_printer.rb', line 7 def print_git_commits(commit_a) sm = SysConfig.string_decorator commit_a.each do |commit| print ' ' print sm.blue(commit.commit) print ' ' puts sm.green(commit.shortlog[0..50] + ' ...') end nil end |