RubyGems Navigation menu

colored2 2.0.0

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.'.clear! puts ('this is regular, but '.red! do 'this is red '.yellow! do ' and yellow.'.clear! end end)

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 4.0.0 - August 24, 2023 (8.5KB)
  2. 3.1.2 - February 14, 2017 (10KB)
  3. 2.0.2 - March 10, 2016 (9KB)
  4. 2.0.0 - March 10, 2016 (9KB)
全てのバージョンを表示(全9件)

Development依存関係 (3):

rake ~> 10.0
rspec ~> 3.4

所有者:

作者:

  • Konstantin Gredeskoul

SHA 256チェックサム:

e8ffaebf4ba24ab804d18355d6644293ce6b32f5056f3e7fc1571615874a61ee

累計ダウンロード数 134,802,013

このバージョンのみ 2,870

ライセンス:

MIT

必要なRubyのバージョン: >= 2.0.0

新しいバージョンはMFAを必要とします: true

必要なRubyGemsのバージョン: >= 1.3.6

リンク: