<?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 Gotcha #1</title>
	<atom:link href="http://www.simonlin.ca/2006/09/10/ruby-gotcha-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simonlin.ca/2006/09/10/ruby-gotcha-1/</link>
	<description>A site by Simon Lin</description>
	<lastBuildDate>Tue, 24 Jun 2008 17:59:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: http://blog.viarails.net</title>
		<link>http://www.simonlin.ca/2006/09/10/ruby-gotcha-1/comment-page-1/#comment-12</link>
		<dc:creator>http://blog.viarails.net</dc:creator>
		<pubDate>Thu, 23 Nov 2006 15:52:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-12</guid>
		<description>&lt;p&gt;Since you posted this a while ago, you may have since learned of instance variables, which are preceeded by an &#039;@&#039;. If not, well here is the proper way to write your setter.&lt;br /&gt;&lt;/p&gt;

&lt;pre&gt;
class Foo
  attr_accessor :bar
  def setNewBar=(newBar)
    @bar = newBar
  end
end
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Since you posted this a while ago, you may have since learned of instance variables, which are preceeded by an &#8216;@&#8217;. If not, well here is the proper way to write your setter.<br /></p>

<pre>
class Foo
  attr_accessor :bar
  def setNewBar=(newBar)
    @bar = newBar
  end
end
</pre>]]></content:encoded>
	</item>
</channel>
</rss>
