RubyGems Navigation menu

colored2 3.1.2

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)

Gemfile:
=

installation:
=

Versions:

  1. 4.0.0 August 24, 2023 (8,5 ko)
  2. 3.1.2 February 14, 2017 (10 ko)
  3. 2.0.2 March 10, 2016 (9 ko)
  4. 2.0.0 March 10, 2016 (9 ko)
Voir toutes les versions (9)

Dépendances de Development (3):

rake ~> 10.0
rspec ~> 3.4

Propriétaires:

Auteurs:

  • Chris Wanstrath, Konstantin Gredeskoul

Total de contrôle SHA 256:

=

Total de téléchargements 157 092 389

Pour cette version 156 925 886

Version publiée:

License:

MIT

Version de Ruby requise: >= 2.0.0

New versions require MFA: true

Required Rubygems Version: >= 1.3.6

Liens: