Module: Ccp::Utils::Colorize::Bar
Overview
Bar
Defined Under Namespace
Classes: Progress
Instance Method Summary collapse
- #blue(*args) ⇒ Object (also: #info)
- #green(*args) ⇒ Object (also: #success)
- #red(*args) ⇒ Object (also: #danger)
- #yellow(*args) ⇒ Object (also: #warning)
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 |