<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Ruby: Extending classes and method chaining.</title>
	<atom:link href="http://donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/feed/" rel="self" type="application/rss+xml" />
	<link>http://donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/</link>
	<description>Why not take my word for it?</description>
	<lastBuildDate>Wed, 07 Apr 2010 23:55:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: makevoid</title>
		<link>http://donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/comment-page-1/#comment-6022</link>
		<dc:creator>makevoid</dc:creator>
		<pubDate>Sun, 19 Apr 2009 18:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/#comment-6022</guid>
		<description>&lt;code&gt;&quot;6825 w. galveston st.&quot;.upcase #=&gt; &quot;6825 W. GALVESTON ST.&quot;&lt;/code&gt;:Dsorry for the last messed comment, you can delete it :) </description>
		<content:encoded><![CDATA[<p><code>"6825 w. galveston st.".upcase #=&gt; "6825 W. GALVESTON ST."</code> <img src='http://donttrustthisguy.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> sorry for the last messed comment, you can delete it <img src='http://donttrustthisguy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: makevoid</title>
		<link>http://donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/comment-page-1/#comment-6021</link>
		<dc:creator>makevoid</dc:creator>
		<pubDate>Sun, 19 Apr 2009 18:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/#comment-6021</guid>
		<description># class String  #   def capitalize_each!  #     replace (split(&quot; &quot;).each{&#124;word&#124; word.capitalize!}.join(&quot; &quot;))  #   end  # end  #   # str = &quot;HELLO WORLD&quot;  # puts str.capitalize_each!  # puts str  &quot;6825 w. galveston st.&quot;.upcase #=&gt; &quot;6825 W. GALVESTON ST.&quot; :)</description>
		<content:encoded><![CDATA[<p># class String  #   def capitalize_each!  #     replace (split(&#8221; &#8220;).each{|word| word.capitalize!}.join(&#8221; &#8220;))  #   end  # end  #   # str = &#8220;HELLO WORLD&#8221;  # puts str.capitalize_each!  # puts str  &#8220;6825 w. galveston st.&#8221;.upcase #=&gt; &#8220;6825 W. GALVESTON ST.&#8221; <img src='http://donttrustthisguy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Where to put code for extending a class? &#124; keyongtech</title>
		<link>http://donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/comment-page-1/#comment-5810</link>
		<dc:creator>Where to put code for extending a class? &#124; keyongtech</dc:creator>
		<pubDate>Sun, 18 Jan 2009 16:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/#comment-5810</guid>
		<description>[...] for extending a class?     I want to extend the String class with a capitalize_each_word method (http://donttrustthisguy.com/2005/12/...thod-chaining/) What is the recommended place to put the code? -- Posted via [...]</description>
		<content:encoded><![CDATA[<p>[...] for extending a class?     I want to extend the String class with a capitalize_each_word method (<a href="http://donttrustthisguy.com/2005/12/...thod-chaining/" rel="nofollow">http://donttrustthisguy.com/2005/12/&#8230;thod-chaining/</a>) What is the recommended place to put the code? &#8212; Posted via [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vezult</title>
		<link>http://donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/comment-page-1/#comment-77</link>
		<dc:creator>vezult</dc:creator>
		<pubDate>Mon, 03 Apr 2006 18:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/#comment-77</guid>
		<description>Using self.replace in capitalize_each! rather than just replace would be a little more explicit. Additionally, it would match the style of your non-destructive method.</description>
		<content:encoded><![CDATA[<p>Using self.replace in capitalize_each! rather than just replace would be a little more explicit. Additionally, it would match the style of your non-destructive method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/comment-page-1/#comment-17</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sun, 01 Jan 2006 00:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/#comment-17</guid>
		<description>Thanks Assaf I&#039;m still an amateur in Ruby that one statement helped me a lot.</description>
		<content:encoded><![CDATA[<p>Thanks Assaf I&#8217;m still an amateur in Ruby that one statement helped me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: assaf</title>
		<link>http://donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/comment-page-1/#comment-16</link>
		<dc:creator>assaf</dc:creator>
		<pubDate>Sun, 01 Jan 2006 00:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.donttrustthisguy.com/2005/12/31/ruby-extending-classes-and-method-chaining/#comment-16</guid>
		<description>Here...
&lt;pre name=&quot;code&quot; class=&quot;ruby&quot;&gt;
class String
  def capitalize_each!
    replace (split(&quot; &quot;).each{&#124;word&#124; word.capitalize!}.join(&quot; &quot;))
  end  
end

str = &quot;HELLO WORLD&quot;
puts str.capitalize_each!
puts str
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Here&#8230;</p>
<pre name="code" class="ruby">
class String
  def capitalize_each!
    replace (split(" ").each{|word| word.capitalize!}.join(" "))
  end
end

str = "HELLO WORLD"
puts str.capitalize_each!
puts str
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
