Group :: Desenvolvimento/Ruby
RPM: gem-colored2
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 3.1.2.1-alt0.1
Data da compilação: 26 janeiro 2023, 21:34 ( 65.4 weeks ago )
Tamanho:: 399.43 Kb
Home page: http://github.com/kigster/colored2
Licença: MIT
Sumário: Add even more color to your life
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 26 janeiro 2023, 21:34 ( 65.4 weeks ago )
Tamanho:: 399.43 Kb
Home page: http://github.com/kigster/colored2
Licença: MIT
Sumário: Add even more color to your life
Descrição:
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)
Mantenedor currente: 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)
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- gem-colored2
- gem-colored2-devel
- gem-colored2-doc