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)

バージョン履歴:

  1. 3.1.2 - February 14, 2017 (10KB)
  2. 2.0.2 - March 10, 2016 (9KB)
  3. 2.0.0 - March 10, 2016 (9KB)
全てのバージョンを表示 (全7項目)

オーナー:

作者:

  • Chris Wanstrath, Konstantin Gredeskoul

SHA 256チェックサム:

b13c2bd7eeae2cf7356a62501d398e72fde78780bd26aec6a979578293c28b4a

累計ダウンロード数 50,161,826

現行バージョン 50,143,594

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

インストール:
=

ライセンス:

MIT

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

必要Gemバージョン: >= 1.3.6

リンク集: