Sha256: 8413e1f1f5a3d3cd4a8d6f216b40eb41c92df023725f84827ee3ee44a64c9dc7
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
require 'wlog/domain/sys_config' module Wlog # Cute printer for git commit logs # @author Simon Symeonidis module GitCommitPrinter 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wlog-1.2.2 | lib/wlog/tech/git_commit_printer.rb |