FEATURES/PROBLEMS: * change string color * change string background * change string effect == SYNOPSIS: Some usage samples: puts "This is blue".colorize( :blue ) puts "This is light blue".colorize( :light_blue ) puts "This is also blue".colorize( :color => :blue ) puts "This is blue with red background".colorize( :color => :light_blue, :background => :red ) puts "This is blue with red background".colorize( :light_blue ).colorize( :background => :red ) puts "This is blue text on red".blue.on_red puts "This is red on blue".colorize( :red ).on_blue puts "This is uncolorized".blue.on_red.uncolorize puts "This is red on blue and underline".colorize( :red ).on_blue.underline puts "This is blue text on red".blue.on_red.blink
Required Ruby Version
> 0.0.0
Authors
fazibear
Versions
- 1.1.0 June 23, 2023 (17.5 KB)
- 1.0.5 June 22, 2023 (17.5 KB)
- 1.0.3 June 21, 2023 (17.5 KB)
- 1.0.2 June 21, 2023 (17.5 KB)
- 1.0.1 June 19, 2023 (17.5 KB)
- 0.5.5 August 10, 2007This gem version was imported to RubyGems.org on July 25, 2009. The date displayed was specified by the author in the gemspec. (6 KB)