Ruby on Rails
Wednesday, November 28, 2012
Hi ,
Self.methods is static methods using the class name itself you can call the methods and is not available to the instance of the class.
Thanks,
Senthil Srinivasan
On Wednesday, 28 November 2012 15:30:24 UTC+5:30, Ruby-Forum.com User wrote:
Whats is the idea behind using self.method_name ????? please help--
Thanks.
--
Posted via http://www.ruby-forum.com/.
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.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/vs5Z2L0xXL4J.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment