Sha256: e05d786a38fe0297f2ffe72f259c7a370fb7074e5c97fb3b31dd32797e09cad7
Contents?: true
Size: 933 Bytes
Versions: 4
Compression:
Stored size: 933 Bytes
Contents
# smart_colored Color and formatting in terminal ## Synopsis require 'smart_colored' puts 'important'.colored.red puts 'important'.colored.bold puts 'important'.colored.red.bold puts 'important'.colored.red_bold puts 'important'.colored.red_bold_on_yellow or require 'smart_colored/extend' puts 'important'.red puts 'important'.bold puts 'important'.red.bold puts 'important'.red_bold puts 'important'.red_bold_on_yellow smart means you can apply format to string which already got formatting require 'smart_colored/extend' puts "sometimes there could be #{'very important'.bold.underline} text in simply important one".red puts "white, #{'underlined red'.underline.red}, #{'inversed with background green'.inverse_green} and #{'bold blue'.bold_blue} on black background".white.on_black ## Copyright Copyright (c) 2010 Ivan Kuchin. See LICENSE.txt for details.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
smart_colored-1.1.0 | README.markdown |
smart_colored-1.0.2 | README.markdown |
smart_colored-1.0.1 | README.markdown |
smart_colored-1.0.0 | README.markdown |