Using irb
with your Ruby? Yeah, I thought so.
If you want syntax coloring, ri inside irb and a shorter prompt, get Wirble:
sudo gem install wirble
And add an .irbrc
file to your home directory, following Wirble’s advice on what to put there.
Oh, and when you have one of those, you could add Ben Bleything’s command history to your irb, while you’re at it. (Minor update: Ben’s called Ben, not Adam.)
Makes for a more communicative irb experience.
[tags]wirble,ruby[/tags]
It’s Ben Bleything.
Hey, that’s the coolest tip of the month!
Keep ’em coming, Olle!
Chris: thanks for noticing — I stand corrected.
Dalager: Oh, well, I’ll point to fri (Eigenclass’s “Fast ri”) as well. But Mauricio makes such a good intro to the thing that I can not add anything to that data.