Ruby on rails help!

Can someone enlighten me about

* Public Instance Methods.
* Public Class Methods.
* What is the root class for all Ruby Classes if there is one.

On 20 Aug 2008, at 11:16, Sunny B. wrote:

Can someone enlighten me about

  • Public Instance Methods.
  • Public Class Methods.
    as in what’s the difference? instance methods are methods you call on
    an instance, class methods are ones you call on a class.
    For example if Person is an ActiveRecord model then Person.find is a
    class method, but save is an instance method, ie some_person.save
    where some_person is an instance of Person
  • What is the root class for all Ruby Classes if there is one.
    Object

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs