<?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 callbacks</title>
	<atom:link href="http://khelll.com/blog/ruby/ruby-callbacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://khelll.com/blog/ruby/ruby-callbacks/</link>
	<description>Cool Web Development...</description>
	<lastBuildDate>Mon, 21 May 2012 00:25:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Prodis a.k.a. Fernando Hamasaki</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-79623</link>
		<dc:creator>Prodis a.k.a. Fernando Hamasaki</dc:creator>
		<pubDate>Sat, 31 Mar 2012 22:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-79623</guid>
		<description>In &lt;em&gt;included&lt;/em&gt; or &lt;em&gt;extended&lt;/em&gt; hooks, you don&#039;t need call &lt;em&gt;extend&lt;/em&gt; method with &lt;em&gt;send&lt;/em&gt;, because &lt;em&gt;extend&lt;/em&gt; is a &lt;strong&gt;public method&lt;/strong&gt;.</description>
		<content:encoded><![CDATA[<p>In <em>included</em> or <em>extended</em> hooks, you don&#8217;t need call <em>extend</em> method with <em>send</em>, because <em>extend</em> is a <strong>public method</strong>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dojos: One conversation in the room not in the driving seats &#124; InternetRSSFeeds</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-27192</link>
		<dc:creator>Dojos: One conversation in the room not in the driving seats &#124; InternetRSSFeeds</dc:creator>
		<pubDate>Wed, 22 Jun 2011 15:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-27192</guid>
		<description>[...] memorable moments of a dojo. I remember this happening when Ola Bini gave a spontaneous lecture on Ruby&#8217;s object lifecycle event hooks. It started with someone using an unusual technique and it ended up being a really enlightening [...]</description>
		<content:encoded><![CDATA[<p>[...] memorable moments of a dojo. I remember this happening when Ola Bini gave a spontaneous lecture on Ruby&#8217;s object lifecycle event hooks. It started with someone using an unusual technique and it ended up being a really enlightening [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trans</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-23371</link>
		<dc:creator>trans</dc:creator>
		<pubDate>Fri, 29 Apr 2011 01:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-23371</guid>
		<description>@José You can either override initialize if it&#039;s a subclass, or you can define a new `new` method.

    class X
      class &lt;&lt; self
        alias :_new, :new
        def new(*args)
          o = _new(*args)
          # ... after initialize code ...
          return o
        end
      end</description>
		<content:encoded><![CDATA[<p>@José You can either override initialize if it&#8217;s a subclass, or you can define a new `new` method.</p>
<p>    class X<br />
      class &lt;&lt; self<br />
        alias :_new, :new<br />
        def new(*args)<br />
          o = _new(*args)<br />
          # &#8230; after initialize code &#8230;<br />
          return o<br />
        end<br />
      end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dojos: One conversation in the room not in the driving seats &#171; Echo One</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-17935</link>
		<dc:creator>Dojos: One conversation in the room not in the driving seats &#171; Echo One</dc:creator>
		<pubDate>Fri, 18 Feb 2011 00:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-17935</guid>
		<description>[...] memorable moments of a dojo. I remember this happening when Ola Bini gave a spontaneous lecture on Ruby&#8217;s object lifecycle event hooks. It started with someone using an unusual technique and it ended up being a really enlightening [...]</description>
		<content:encoded><![CDATA[<p>[...] memorable moments of a dojo. I remember this happening when Ola Bini gave a spontaneous lecture on Ruby&#8217;s object lifecycle event hooks. It started with someone using an unusual technique and it ended up being a really enlightening [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khelll</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-7007</link>
		<dc:creator>khelll</dc:creator>
		<pubDate>Sat, 06 Feb 2010 17:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-7007</guid>
		<description>@billy, cause mix is a Symbol there. It can&#039;t be called directly. Another note, you can&#039;t pass methods directly just like a one can do in Python or Javascript and then call it directly. The maximum u can do is to pass the name(symbol or string) and call it via send or eval methods,  Or pass method object and call it from there. 
Anyway check this &lt;a href=&quot;http://www.khelll.com/blog/ruby/ruby-dynamic-method-calling/&quot; rel=&quot;nofollow&quot;&gt;post&lt;/a&gt; on dynamic method invocation in Ruby.</description>
		<content:encoded><![CDATA[<p>@billy, cause mix is a Symbol there. It can&#8217;t be called directly. Another note, you can&#8217;t pass methods directly just like a one can do in Python or Javascript and then call it directly. The maximum u can do is to pass the name(symbol or string) and call it via send or eval methods,  Or pass method object and call it from there.<br />
Anyway check this <a href="http://www.khelll.com/blog/ruby/ruby-dynamic-method-calling/" rel="nofollow">post</a> on dynamic method invocation in Ruby.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billy</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-7006</link>
		<dc:creator>billy</dc:creator>
		<pubDate>Sat, 06 Feb 2010 17:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-7006</guid>
		<description>Why did you use &quot;self.send :mix, colors ,&amp;block&quot; instead of calling the function &quot;normaly&quot;.

btw, thanks for the nice post :)</description>
		<content:encoded><![CDATA[<p>Why did you use &#8220;self.send :mix, colors ,&amp;block&#8221; instead of calling the function &#8220;normaly&#8221;.</p>
<p>btw, thanks for the nice post <img src='http://khelll.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: José Valim</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-528</link>
		<dc:creator>José Valim</dc:creator>
		<pubDate>Mon, 16 Feb 2009 15:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-528</guid>
		<description>Great post! :)

I found it because I&#039;m searching for an after_initialize class callback in Ruby. In other words, it should be fired after loading a class, any idea?

Keep it up!</description>
		<content:encoded><![CDATA[<p>Great post! <img src='http://khelll.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I found it because I&#8217;m searching for an after_initialize class callback in Ruby. In other words, it should be fired after loading a class, any idea?</p>
<p>Keep it up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phani</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-81</link>
		<dc:creator>Phani</dc:creator>
		<pubDate>Tue, 30 Dec 2008 05:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-81</guid>
		<description>Hi, nice post and neat clarity about what you are conveying. Keep up the good work and as Mathieu point out, thanks for helping the community! Looking forward to your upcoming posts on Ruby.</description>
		<content:encoded><![CDATA[<p>Hi, nice post and neat clarity about what you are conveying. Keep up the good work and as Mathieu point out, thanks for helping the community! Looking forward to your upcoming posts on Ruby.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khelll</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-76</link>
		<dc:creator>khelll</dc:creator>
		<pubDate>Sun, 28 Dec 2008 19:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-76</guid>
		<description>Thanks @ Mathieu</description>
		<content:encoded><![CDATA[<p>Thanks @ Mathieu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathieu</title>
		<link>http://khelll.com/blog/ruby/ruby-callbacks/comment-page-1/#comment-75</link>
		<dc:creator>Mathieu</dc:creator>
		<pubDate>Sun, 28 Dec 2008 19:28:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=178#comment-75</guid>
		<description>Khaled, I just discovered your blog and you are writing amazing technical posts. Great job and thanks for helping the Ruby community!</description>
		<content:encoded><![CDATA[<p>Khaled, I just discovered your blog and you are writing amazing technical posts. Great job and thanks for helping the Ruby community!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

