Sha256: d9e46ce753e2eb0e05a704eab2c7bc13ffb31eec0625483d349cf84fc6fe64a7
Contents?: true
Size: 309 Bytes
Versions: 3
Compression:
Stored size: 309 Bytes
Contents
module GitWakaTime class Log def initialize(msg, color = nil) @color = color @msg = msg print_message end def print_message return if ENV['waka_log'] == 'false' if @color.nil? puts @msg else puts @msg.send(@color) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gitwakatime-0.1.2 | lib/gitwakatime/log.rb |
gitwakatime-0.1.1 | lib/gitwakatime/log.rb |
gitwakatime-0.1.0 | lib/gitwakatime/log.rb |