The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
IRB rockets and colors

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jan Lelis

Posts: 136
Nickname: rbjl
Registered: Aug, 2009

Jan Lelis is an IT student from Dresden/Germany
IRB rockets and colors Posted: Nov 9, 2010 8:27 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Jan Lelis.
Original Post: IRB rockets and colors
Feed Title: rbJ*_*L.net
Feed URL: http://feeds.feedburner.com/rbJL
Feed Description: Hi, I am a fan of Ruby and like to explore it and the world around ;). So I started this blog, where I am publishing code snippets, tutorials for beginners as well as general thoughts about Ruby, the web or programming in general.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Jan Lelis
Latest Posts From rbJ*_*L.net

Advertisement

Introducing the fancy_irb gem:

  • Use fancy colors! You can colorize the prompts, irb errors, stderr and stdout
  • Output results as Ruby comments
  • Enhance your output value, using procs

I really like the irb_rocket gem, which outputs the IRB evaluation results as comments and colorizes errors. Unfortunately, the implementation leads to bugs, because it tries to run the whole command before printing anything to stdout. For this reason, I’ve rewritten (and extended) it so it’s now compatible with other great gems like hirb, interactive_editor and so on.

You can try it with gem install fancy_irb or by updating irbtools

More information on the github page

More IRB action later this month :)

CC-BY (DE)

Read: IRB rockets and colors

Topic: Indie Conf: Not Just Independents Previous Topic   Next Topic Topic: Ruby Metaprogramming Course 6th Batch: Learn to Think in Ruby

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use