<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>porsamini</title>
	<atom:link href="http://porsamini.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://porsamini.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 20 Apr 2011 12:23:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='porsamini.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>porsamini</title>
		<link>http://porsamini.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://porsamini.wordpress.com/osd.xml" title="porsamini" />
	<atom:link rel='hub' href='http://porsamini.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Inline methods in ruby behaves differently for &#8216;&lt;&lt;&#039; and &#039;=&#039; methods</title>
		<link>http://porsamini.wordpress.com/2011/04/20/inline-methods-in-ruby-behaves-differently-for-append-and-assignment-methods/</link>
		<comments>http://porsamini.wordpress.com/2011/04/20/inline-methods-in-ruby-behaves-differently-for-append-and-assignment-methods/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 12:00:24 +0000</pubDate>
		<dc:creator>porsamini</dc:creator>
				<category><![CDATA[Facts]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[append]]></category>
		<category><![CDATA[assign]]></category>
		<category><![CDATA[inline methods]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://porsamini.wordpress.com/?p=180</guid>
		<description><![CDATA[:CODE module ModuleTest class &#60;&#60; self attr_accessor :foo def foo_bar() foo &#60;&#60; "bar" end #-- Comapare1   end self.foo = [] end IRB =&#62; irb(main):010:0&#62; ModuleTest.foo =&#62; [] irb(main):011:0&#62; ModuleTest.foo_bar =&#62; ["bar"] irb(main):012:0&#62; ModuleTest.foo =&#62; ["bar"] #-- Comapare2 irb(main):013:0&#62; ModuleTest.foo_bar =&#62; ["bar", "bar"] #-- Comapare3 irb(main):014:0&#62; ModuleTest.foo =&#62; ["bar", "bar"] irb(main):015:0&#62; ModuleTest.foo_bar =&#62; ["bar", "bar", [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=porsamini.wordpress.com&amp;blog=5551532&amp;post=180&amp;subd=porsamini&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote>
<h3>:CODE</h3>
<pre>module ModuleTest
  class &lt;&lt; self
    attr_accessor :foo
    def foo_bar() foo &lt;&lt; "bar" end        <span style="color:#993366;">#-- Comapare1 </span>  
end
self.foo = []
end</pre>
<h3>IRB =&gt;</h3>
<pre>irb(main):010:0&gt; ModuleTest.foo
=&gt; []
irb(main):011:0&gt; ModuleTest.foo_bar
=&gt; ["bar"]
irb(main):012:0&gt; ModuleTest.foo
=&gt; ["bar"]                                   <span style="color:#99ccff;">#-- Comapare2 </span>
irb(main):013:0&gt; ModuleTest.foo_bar
=&gt; ["bar", "bar"]                                 <span style="color:#cc99ff;">#-- Comapare3 </span>
irb(main):014:0&gt; ModuleTest.foo
=&gt; ["bar", "bar"]
irb(main):015:0&gt; ModuleTest.foo_bar
=&gt; ["bar", "bar", "bar"]
irb(main):016:0&gt; ModuleTest.foo
=&gt; ["bar", "bar", "bar"]
irb(main):017:0&gt;</pre>
</blockquote>
<hr />
<blockquote>
<h3>:CODE</h3>
<pre>module ModuleTest2
   class &lt;&lt; self
     attr_accessor :foo
   def foo_bar() foo = "bar" end        <span style="color:#993366;">#-- Compare1 </span>
end
self.foo = "Foo Bar"
end</pre>
<h3>IRB =&gt;</h3>
<pre>irb(main):010:0&gt; ModuleTest2.foo
=&gt; "Foo Bar"                                <span style="color:#99ccff;">#-- Comapare2 </span>
irb(main):011:0&gt; ModuleTest2.foo_bar
=&gt; "bar"                                         <span style="color:#cc99ff;">#-- Comapare3</span></pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/porsamini.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/porsamini.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/porsamini.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/porsamini.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/porsamini.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/porsamini.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/porsamini.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/porsamini.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/porsamini.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/porsamini.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/porsamini.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/porsamini.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/porsamini.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/porsamini.wordpress.com/180/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=porsamini.wordpress.com&amp;blog=5551532&amp;post=180&amp;subd=porsamini&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://porsamini.wordpress.com/2011/04/20/inline-methods-in-ruby-behaves-differently-for-append-and-assignment-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/60325bb30972a0b50ccf42d2273f7838?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">porsamini</media:title>
		</media:content>
	</item>
	</channel>
</rss>
