<?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 notes 4: overloading</title>
	<atom:link href="http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/feed/" rel="self" type="application/rss+xml" />
	<link>http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/</link>
	<description></description>
	<lastBuildDate>Tue, 22 May 2012 01:20:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: david carlton</title>
		<link>http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/comment-page-1/#comment-21987</link>
		<dc:creator>david carlton</dc:creator>
		<pubDate>Sun, 04 Mar 2007 20:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/#comment-21987</guid>
		<description>Thanks for the example!</description>
		<content:encoded><![CDATA[<p>Thanks for the example!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/comment-page-1/#comment-20073</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 21 Feb 2007 22:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/#comment-20073</guid>
		<description>hmm, indentation didn&#039;t work so well</description>
		<content:encoded><![CDATA[<p>hmm, indentation didn&#8217;t work so well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/comment-page-1/#comment-20072</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 21 Feb 2007 22:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/#comment-20072</guid>
		<description>Just so you know, it is (somewhat) possible... see this example:

class Foobar
	attr_accessor :var

	# can be called with 0 or 1 parameters
	# and will change behavior accordingly
	def initialize(var=nil)
		if var== nil
			var= Array.new
		elsif var.kind_of?(Array)
			@var= var
		else
			print &quot;invalid input in initialize&quot;
		end
	end
end</description>
		<content:encoded><![CDATA[<p>Just so you know, it is (somewhat) possible&#8230; see this example:</p>
<p>class Foobar<br />
	attr_accessor :var</p>
<p>	# can be called with 0 or 1 parameters<br />
	# and will change behavior accordingly<br />
	def initialize(var=nil)<br />
		if var== nil<br />
			var= Array.new<br />
		elsif var.kind_of?(Array)<br />
			@var= var<br />
		else<br />
			print &#8220;invalid input in initialize&#8221;<br />
		end<br />
	end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: malvasia bianca &#187; Blog Archive &#187; ruby notes 4a: overloading constructors</title>
		<link>http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/comment-page-1/#comment-13215</link>
		<dc:creator>malvasia bianca &#187; Blog Archive &#187; ruby notes 4a: overloading constructors</dc:creator>
		<pubDate>Sun, 31 Dec 2006 19:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/archives/2006/12/ruby-notes-4-overloading/#comment-13215</guid>
		<description>[...] malvasia bianca       &#171; ruby notes 4: overloading [...]</description>
		<content:encoded><![CDATA[<p>[...] malvasia bianca       &laquo; ruby notes 4: overloading [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/20 queries in 0.259 seconds using disk: basic

Served from: malvasiabianca.org @ 2012-05-24 09:03:30 -->
