<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Twenty Ways &#187; Ruby</title>
	<atom:link href="http://www.twentyways.com/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.twentyways.com</link>
	<description>(21 would just be ridiculous)</description>
	<lastBuildDate>Tue, 29 Jun 2010 08:09:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Tab completion and syntax coloring in irb using Wirble</title>
		<link>http://www.twentyways.com/2008/10/22/tab-completion-and-syntax-coloring-in-irb-using-wirble/</link>
		<comments>http://www.twentyways.com/2008/10/22/tab-completion-and-syntax-coloring-in-irb-using-wirble/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 12:31:15 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[irb]]></category>
		<category><![CDATA[syntax color]]></category>
		<category><![CDATA[tab completion]]></category>

		<guid isPermaLink="false">http://www.twentyways.com/?p=88</guid>
		<description><![CDATA[I generally code in python and am used to the default features of the ipython interactive python shell. One of the features that I use a lot is tab completion. It helps me locate method names and also just do exploration inside modules that are new to me. Wirble is a gem for ruby that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.twentyways.com/wp-content/uploads/2008/10/picture-2.png"><img class="alignright size-thumbnail wp-image-87" title="Wirble demo" src="http://www.twentyways.com/wp-content/uploads/2008/10/picture-2-150x150.png" alt="" width="150" height="150" /></a>I generally code in python and am used to the default features of the ipython interactive python shell. One of the features that I use a lot is tab completion. It helps me locate method names and also just do exploration inside modules that are new to me.</p>
<p><a href="http://pablotron.org/software/wirble/">Wirble</a> is a gem for ruby that enhances the irb interactive ruby shell to have tab completion, syntax coloring, and a few other irb tweaks that I haven&#8217;t looked in to yet.</p>
<p>Its pretty easy to install wirble on most unix systems with ruby gem support installed:</p>
<pre>gem install wirble</pre>
<p>Then, add the following lines to your ~/.irbrc</p>
<pre>require 'rubygems'
require 'wirble'
require 'irb/completion'
Wirble.init
Wirble.colorize</pre>
<p>Next time you start up irb save typing using tab completion and relax your eyes using the syntax coloring.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.twentyways.com/2008/10/22/tab-completion-and-syntax-coloring-in-irb-using-wirble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
