Module: Ccp::Utils::Colorize::Bar

Extended by:
Bar
Included in:
Bar
Defined in:
lib/ccp/utils/colorize.rb

Overview

Bar

Defined Under Namespace

Classes: Progress

Instance Method Summary collapse

Instance Method Details

#blue(*args) ⇒ Object Also known as: info



135
# File 'lib/ccp/utils/colorize.rb', line 135

def blue  (*args) Progress.new(:blue  , *args).to_s; end

#green(*args) ⇒ Object Also known as: success



134
# File 'lib/ccp/utils/colorize.rb', line 134

def green (*args) Progress.new(:green , *args).to_s; end

#red(*args) ⇒ Object Also known as: danger



137
# File 'lib/ccp/utils/colorize.rb', line 137

def red   (*args) Progress.new(:red   , *args).to_s; end

#yellow(*args) ⇒ Object Also known as: warning



136
# File 'lib/ccp/utils/colorize.rb', line 136

def yellow(*args) Progress.new(:yellow, *args).to_s; end