Sha256: 3a50f69324e1638a222d7794a07cd814a5989517735f1d6299f0a4a347d64f55
Contents?: true
Size: 370 Bytes
Versions: 1
Compression:
Stored size: 370 Bytes
Contents
require 'highline/import' module Opsicle module Output def self.say(msg, color_requested=nil) if $color && color_requested super "<%= color('#{msg}', #{color_requested}) %>" else super msg end end def self.say_verbose(msg, color="MAGENTA") self.say "<%= color('#{msg}', #{color}) %>" if $verbose end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opsicle-0.3.0 | lib/opsicle/output.rb |