August 01, 2006

Posted by John

Older: Handy Subversion Rake Task

Newer: Simply Restful Support

Simpler IRB

This IRB tip is so drop dead easy I’m surprised I just now ran across how to do it. Tired of the long IRB prompt like this:

irb(main):001:0>

Stick the following line in your .irbrc file:

IRB.conf[:PROMPT_MODE] = :SIMPLE

and you’ll get a prompt that is only two arrows:

>>

Less is more.

0 Comments

Sorry, comments are closed for this article to ease the burden of pruning spam.

About

Authored by John Nunemaker (Noo-neh-maker), a web developer and programmer who has fallen deeply in love with Ruby. More about John.

Syndication

Feed IconRailsTips Articles - An assortment of howto's and thoughts on Ruby and Rails.

Feed IconRails Quick Tips - Ruby and Rails related links.