Ruby on Rails Wednesday, November 28, 2012

On 28 November 2012 10:00, Manoj M. <lists@ruby-forum.com> wrote:
> Whats is the idea behind using self.method_name ????? please help

The first hit in google for
ruby def self
is

http://yehudakatz.com/2009/11/15/metaprogramming-in-ruby-its-all-about-the-self/

which seems to just about cover it.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment