Group :: Development/Ruby
RPM: gem-colored2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 3.1.2.1-alt0.1
Build date: 26 january 2023, 21:34 ( 66.1 weeks ago )
Size: 399.43 Kb
Home page: http://github.com/kigster/colored2
License: MIT
Summary: Add even more color to your life
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 26 january 2023, 21:34 ( 66.1 weeks ago )
Size: 399.43 Kb
Home page: http://github.com/kigster/colored2
License: MIT
Summary: Add even more color to your life
Description:
This is a heavily modified fork of http://github.com/defunkt/colored gem, with
many sensible pull requests combined. Since the authors of the original gem no
longer support it, this might, perhaps, be considered a good
alternative.
Simple gem that adds various color methods to String class, and can be used as
follows:
require 'colored2'
puts 'this is red'.red puts 'this is red with a yellow background'.red.on.yellow
puts 'this is red with and italic'.red.italic puts 'this is green
bold'.green.bold << ' and regular'.green puts 'this is really bold blue on white
but reversed'.bold.blue.on.white.reversed puts 'this is regular, but '.red! <<
'this is red '.yellow! << ' and yellow.'.no_color! puts ('this is regular, but
'.red! do 'this is red '.yellow! do ' and yellow.'.no_color! end end)
Current maintainer: Ruby Maintainers Team many sensible pull requests combined. Since the authors of the original gem no
longer support it, this might, perhaps, be considered a good
alternative.
Simple gem that adds various color methods to String class, and can be used as
follows:
require 'colored2'
puts 'this is red'.red puts 'this is red with a yellow background'.red.on.yellow
puts 'this is red with and italic'.red.italic puts 'this is green
bold'.green.bold << ' and regular'.green puts 'this is really bold blue on white
but reversed'.bold.blue.on.white.reversed puts 'this is regular, but '.red! <<
'this is red '.yellow! << ' and yellow.'.no_color! puts ('this is regular, but
'.red! do 'this is red '.yellow! do ' and yellow.'.no_color! end end)
List of contributors List of rpms provided by this srpm:
- gem-colored2
- gem-colored2-devel
- gem-colored2-doc