<?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/"
	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>Comments on: Hash to Object</title>
	<atom:link href="http://regedor.com/2009/04/01/hash-to-object/feed/" rel="self" type="application/rss+xml" />
	<link>http://regedor.com/2009/04/01/hash-to-object/</link>
	<description>Just another weblog written by an human</description>
	<lastBuildDate>Wed, 21 Jul 2010 14:10:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Leonardo Borges</title>
		<link>http://regedor.com/2009/04/01/hash-to-object/#comment-33</link>
		<dc:creator>Leonardo Borges</dc:creator>
		<pubDate>Sun, 26 Apr 2009 13:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://miguelregedor.wordpress.com/?p=86#comment-33</guid>
		<description>Glad to help! :)</description>
		<content:encoded><![CDATA[<p>Glad to help! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel Regedor</title>
		<link>http://regedor.com/2009/04/01/hash-to-object/#comment-30</link>
		<dc:creator>Miguel Regedor</dc:creator>
		<pubDate>Sat, 25 Apr 2009 16:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://miguelregedor.wordpress.com/?p=86#comment-30</guid>
		<description>yes! Thanks, you are right.. I was reinventing the wheel. 
I can do:
irb(main):001:0&gt; require &#039;ostruct&#039;
=&gt; true
irb(main):002:0&gt; o = OpenStruct.new :name =&gt; &quot;miguel&quot;, :age =&gt; 22
=&gt; #
irb(main):003:0&gt; o.name
=&gt; &quot;miguel&quot;
irb(main):004:0&gt; o.age
=&gt; 22

Thanks again for the tip.</description>
		<content:encoded><![CDATA[<p>yes! Thanks, you are right.. I was reinventing the wheel.<br />
I can do:<br />
irb(main):001:0&gt; require &#8216;ostruct&#8217;<br />
=&gt; true<br />
irb(main):002:0&gt; o = OpenStruct.new :name =&gt; &#8220;miguel&#8221;, :age =&gt; 22<br />
=&gt; #<br />
irb(main):003:0&gt; o.name<br />
=&gt; &#8220;miguel&#8221;<br />
irb(main):004:0&gt; o.age<br />
=&gt; 22</p>
<p>Thanks again for the tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leonardo Borges</title>
		<link>http://regedor.com/2009/04/01/hash-to-object/#comment-29</link>
		<dc:creator>Leonardo Borges</dc:creator>
		<pubDate>Sat, 25 Apr 2009 15:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://miguelregedor.wordpress.com/?p=86#comment-29</guid>
		<description>If I understood correctly, you can use an OpenStruct for it:

irb(main):001:0&gt; require &#039;ostruct&#039;
=&gt; true
irb(main):002:0&gt; o = OpenStruct.new
=&gt; #
irb(main):003:0&gt; o.name = &quot;Leo&quot;
=&gt; &quot;Leo&quot;
irb(main):004:0&gt; o.name
=&gt; &quot;Leo&quot;


It is actually implemented with a hash.</description>
		<content:encoded><![CDATA[<p>If I understood correctly, you can use an OpenStruct for it:</p>
<p>irb(main):001:0&gt; require &#8216;ostruct&#8217;<br />
=&gt; true<br />
irb(main):002:0&gt; o = OpenStruct.new<br />
=&gt; #<br />
irb(main):003:0&gt; o.name = &#8220;Leo&#8221;<br />
=&gt; &#8220;Leo&#8221;<br />
irb(main):004:0&gt; o.name<br />
=&gt; &#8220;Leo&#8221;</p>
<p>It is actually implemented with a hash.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
