<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Rubyize this : 5th edition</title>
	<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/</link>
	<description>Because programming should be fun</description>
	<pubDate>Fri, 12 Mar 2010 02:54:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>By: macournoyer</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-493</link>
		<author>macournoyer</author>
		<pubDate>Thu, 03 Jan 2008 14:18:56 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-493</guid>
					<description>wow! that's awesome! glad to see your concept getting more and more traction and thx for promoting RmC w/ it, you're the best. 
Can't wait for the t-shirt "Rubyize-me Frank", when is it shipping already?</description>
		<content:encoded><![CDATA[<p>wow! that&#8217;s awesome! glad to see your concept getting more and more traction and thx for promoting RmC w/ it, you&#8217;re the best.<br />
Can&#8217;t wait for the t-shirt &#8220;Rubyize-me Frank&#8221;, when is it shipping already?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: macournoyer on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-494</link>
		<author>macournoyer on RefactorMyCode.com</author>
		<pubDate>Thu, 03 Jan 2008 14:27:00 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-494</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

Here's my take, it's short but not perfect...</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>Here&#8217;s my take, it&#8217;s short but not perfect&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: mvanholstyn on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-495</link>
		<author>mvanholstyn on RefactorMyCode.com</author>
		<pubDate>Thu, 03 Jan 2008 14:33:15 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-495</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

...</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jason on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-496</link>
		<author>Jason on RefactorMyCode.com</author>
		<pubDate>Thu, 03 Jan 2008 14:34:34 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-496</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

this dumbass ajax form is not working!...</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>this dumbass ajax form is not working!&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jason on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-497</link>
		<author>Jason on RefactorMyCode.com</author>
		<pubDate>Thu, 03 Jan 2008 14:39:00 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-497</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

Revision 2, this time passing in list of words to highlight as a function argument like macournoyer did (first reply), which is much better than accessing a named variable outside of the function....</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>Revision 2, this time passing in list of words to highlight as a function argument like macournoyer did (first reply), which is much better than accessing a named variable outside of the function&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: macournoyer on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-498</link>
		<author>macournoyer on RefactorMyCode.com</author>
		<pubDate>Thu, 03 Jan 2008 14:41:41 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-498</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

Sorry about the form not working Jason, should be fixed now...</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>Sorry about the form not working Jason, should be fixed now&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Justin Jones on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-499</link>
		<author>Justin Jones on RefactorMyCode.com</author>
		<pubDate>Thu, 03 Jan 2008 15:15:21 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-499</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

Good solutions above. This is overkill, but can't think of anything else that hasn't already been done....</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>Good solutions above. This is overkill, but can&#8217;t think of anything else that hasn&#8217;t already been done&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Dan Simard</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-500</link>
		<author>Dan Simard</author>
		<pubDate>Thu, 03 Jan 2008 15:23:20 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-500</guid>
					<description>Congrats for the RubyCamp Vancouver Frank! It's nice to see that your work is appreciated over the whole country...</description>
		<content:encoded><![CDATA[<p>Congrats for the RubyCamp Vancouver Frank! It&#8217;s nice to see that your work is appreciated over the whole country&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jason Dew on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-501</link>
		<author>Jason Dew on RefactorMyCode.com</author>
		<pubDate>Thu, 03 Jan 2008 17:24:25 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-501</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

i purposely wrote this without looking at the refactorings... funny how close it still is but it's a bit different.  a little more verbose imo but extensible.  the only issue i have with it is that you are limited to one a single delimiter....</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>i purposely wrote this without looking at the refactorings&#8230; funny how close it still is but it&#8217;s a bit different.  a little more verbose imo but extensible.  the only issue i have with it is that you are limited to one a single delimiter&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Justin Jones on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-503</link>
		<author>Justin Jones on RefactorMyCode.com</author>
		<pubDate>Thu, 03 Jan 2008 20:05:12 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-503</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

I'm sure the String#pad (not sure about the name either) utility function added here is available somewhere, but anyways. Also using the block version of gsub this time....</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>I&#8217;m sure the String#pad (not sure about the name either) utility function added here is available somewhere, but anyways. Also using the block version of gsub this time&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-505</link>
		<author>Frank</author>
		<pubDate>Thu, 03 Jan 2008 22:52:19 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-505</guid>
					<description>Wow, thanks all for your contributions... some pretty good stuff here! It's always fun and instructive to watch how people solve problems in ruby.

@Marc,

Thanks! About the rubyize-this shirts, I'm starting to think about it seriously :)</description>
		<content:encoded><![CDATA[<p>Wow, thanks all for your contributions&#8230; some pretty good stuff here! It&#8217;s always fun and instructive to watch how people solve problems in ruby.</p>
<p>@Marc,</p>
<p>Thanks! About the rubyize-this shirts, I&#8217;m starting to think about it seriously <img src='http://www.rubyfleebie.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jens Ruzicka on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-508</link>
		<author>Jens Ruzicka on RefactorMyCode.com</author>
		<pubDate>Sun, 06 Jan 2008 14:27:28 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-508</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

There are already better versions here...</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>There are already better versions here&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Madden on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-509</link>
		<author>David Madden on RefactorMyCode.com</author>
		<pubDate>Mon, 07 Jan 2008 13:51:58 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-509</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

Nothing major here, just made it case insensitive. An issue I have is that hyphenated words like "monkey-wrench" will still get highlighted and I have no idea how to get the regexp to ignore words beginning or ending with a -....</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>Nothing major here, just made it case insensitive. An issue I have is that hyphenated words like &#8220;monkey-wrench&#8221; will still get highlighted and I have no idea how to get the regexp to ignore words beginning or ending with a -&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Mike on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-510</link>
		<author>Mike on RefactorMyCode.com</author>
		<pubDate>Wed, 09 Jan 2008 04:55:17 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-510</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

Probably went overboard....</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>Probably went overboard&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Mike on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-511</link>
		<author>Mike on RefactorMyCode.com</author>
		<pubDate>Wed, 09 Jan 2008 05:07:50 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-511</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

another one, neither of these work on contractions, this one features recursion and only involves modifying string.

This one outputs: 
*hello* world, what's *up*?

...</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>another one, neither of these work on contractions, this one features recursion and only involves modifying string.</p>
<p>This one outputs:<br />
*hello* world, what&#8217;s *up*?</p>
<p>&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Mike on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-512</link>
		<author>Mike on RefactorMyCode.com</author>
		<pubDate>Wed, 09 Jan 2008 05:11:23 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-512</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

found a bug in that one, didnt work when you had a full sentence and passed in a mark.

This one will correctly output +hello+ world, what's +up+?

I'm going to stop now, sorry for the triple post....</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>found a bug in that one, didnt work when you had a full sentence and passed in a mark.</p>
<p>This one will correctly output +hello+ world, what&#8217;s +up+?</p>
<p>I&#8217;m going to stop now, sorry for the triple post&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-513</link>
		<author>Frank</author>
		<pubDate>Wed, 09 Jan 2008 11:51:25 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-513</guid>
					<description>@Mike, I like the fact that you used recursion. It's an interesting and clever approach. No worry about the triple post :)</description>
		<content:encoded><![CDATA[<p>@Mike, I like the fact that you used recursion. It&#8217;s an interesting and clever approach. No worry about the triple post <img src='http://www.rubyfleebie.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Simon Gate on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-515</link>
		<author>Simon Gate on RefactorMyCode.com</author>
		<pubDate>Wed, 09 Jan 2008 23:43:31 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-515</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

How i did it....</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>How i did it&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Sean Cribbs on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-519</link>
		<author>Sean Cribbs on RefactorMyCode.com</author>
		<pubDate>Sat, 26 Jan 2008 18:11:50 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-519</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

Regexp.union is your friend!  This also demonstrates a typical use of the splat operator to turn an array into an argument list, and the usage of back-references in global substitutions.  One thing that I found recently is that your replacement string ...</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>Regexp.union is your friend!  This also demonstrates a typical use of the splat operator to turn an array into an argument list, and the usage of back-references in global substitutions.  One thing that I found recently is that your replacement string &#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Sean Cribbs on RefactorMyCode.com</title>
		<link>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-520</link>
		<author>Sean Cribbs on RefactorMyCode.com</author>
		<pubDate>Sat, 26 Jan 2008 18:16:33 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/rubyize-this-5th-edition/#comment-520</guid>
					<description>&lt;strong&gt;Rubyize this : 5th edition...&lt;/strong&gt;

Now having read some of the others, I'll borrow from Simon's idea:...</description>
		<content:encoded><![CDATA[<p><strong>Rubyize this : 5th edition&#8230;</strong></p>
<p>Now having read some of the others, I&#8217;ll borrow from Simon&#8217;s idea:&#8230;</p>
]]></content:encoded>
				</item>
</channel>
</rss>
