Sha256: 07c33766ef64787046b7fa6ed4082ddce060178cefc2b0b955b9ea3620c27e70
Contents?: true
Size: 342 Bytes
Versions: 6
Compression:
Stored size: 342 Bytes
Contents
module Gitenv class Renderer def initialize options = {} @options = options end def render action status = action.status color = status.color error = if !status.ok? "\n #{Paint[status.message, color]}" end " #{Paint[status.marker, color]} #{action}#{error}" end end end
Version data entries
6 entries across 6 versions & 1 rubygems