<?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 reflection 2</title>
	<atom:link href="http://khelll.com/blog/ruby/ruby-reflection-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://khelll.com/blog/ruby/ruby-reflection-2/</link>
	<description>Cool Web Development...</description>
	<lastBuildDate>Wed, 08 Feb 2012 19:11:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Jag</title>
		<link>http://khelll.com/blog/ruby/ruby-reflection-2/comment-page-1/#comment-20518</link>
		<dc:creator>Jag</dc:creator>
		<pubDate>Tue, 22 Mar 2011 02:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=135#comment-20518</guid>
		<description>In Ruby, how do you determine the type of parameters to a method that you want to invoke dynamically on an object? I know ruby is dynamically typed, but a method is implemented to work with certain type of parameters. If one wants to invoke a method dynamically using reflection, how do you go about finding this information so it is invoked with right type of parameters? One can not expect to know this information before hand if a class/module is going to be dynamically loaded. In Java or C#, you can get this information on parameters so you can supply the right type of values to a method that is invoked dynamically. 

Any suggestion? Thanks.</description>
		<content:encoded><![CDATA[<p>In Ruby, how do you determine the type of parameters to a method that you want to invoke dynamically on an object? I know ruby is dynamically typed, but a method is implemented to work with certain type of parameters. If one wants to invoke a method dynamically using reflection, how do you go about finding this information so it is invoked with right type of parameters? One can not expect to know this information before hand if a class/module is going to be dynamically loaded. In Java or C#, you can get this information on parameters so you can supply the right type of values to a method that is invoked dynamically. </p>
<p>Any suggestion? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Buchek</title>
		<link>http://khelll.com/blog/ruby/ruby-reflection-2/comment-page-1/#comment-117</link>
		<dc:creator>Craig Buchek</dc:creator>
		<pubDate>Mon, 05 Jan 2009 20:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=135#comment-117</guid>
		<description>The last line of the 3rd code box should be:

&lt;code&gt;&lt;pre lang=&quot;ruby&quot;&gt;
m.instance_variable_get :@i #=&gt; nil
&lt;/pre&gt;&lt;/code&gt;

There is no accessor method named &lt;code&gt;i&lt;/code&gt; on the object.</description>
		<content:encoded><![CDATA[<p>The last line of the 3rd code box should be:</p>
<p><code></p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">m.<span style="color:#9900CC;">instance_variable_get</span> :@i <span style="color:#008000; font-style:italic;">#=&gt; nil</span></pre></div></div>

<p></code></p>
<p>There is no accessor method named <code>i</code> on the object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby reflection - Khaled alHabache&#8217;s official blog</title>
		<link>http://khelll.com/blog/ruby/ruby-reflection-2/comment-page-1/#comment-71</link>
		<dc:creator>Ruby reflection - Khaled alHabache&#8217;s official blog</dc:creator>
		<pubDate>Sat, 27 Dec 2008 07:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=135#comment-71</guid>
		<description>[...]   Ruby reflection 2  This is the second post related to ruby&#039;s reflection API, the previous post was an extensive intro [...]</description>
		<content:encoded><![CDATA[<p>[...]   Ruby reflection 2  This is the second post related to ruby&#8217;s reflection API, the previous post was an extensive intro [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

