• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

This article was migrated from http://rails.office.drecom.jp/takiuchi/archive/145

WirbleというRubyGemsの話です。

from RubyInside:

Wirble: Tab-Completion and Syntax Coloring for irb
これを使うとirbの出力をカラフルにして視認性をよくすることができます。

使い方は、まずWirbleをインストールします。

$ sudo gem install wirble --include-dependencies
続いて、~/.irbrcに以下の記述を追記します。
require 'rubygems'
require 'wirble'
Wirble.init
Wirble.colorize
以上で完了です。irbコマンドだけでなく、script/consoleやscript/breakpointerでも色づけされた結果が表示されます。

This article was migrated from http://rails.office.drecom.jp/takiuchi/archive/145

posted by Png genki on Mon 18 Dec 2006 at 17:55

Comments:

or Preview
Social Bookmarks
  • Delicious
  • B_entry91
  • Clip_16_12_w
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ