From: Daniel Schierbeck Date: 2005-11-29T09:32:29+09:00 Subject: Re: Question on class-declarations class A # A class method # could also be named `A.hello' def self.hello puts "Hello from A.hello" end # An instance method def hello puts "Hello from A#hello" end end class B < A hello # -> Hello from A.hello # This method will be called each # time the class is instantiated def initialize hello # -> Hello from A#hello end end Class methods are usually referred to as ClassName.method_name, and instance methods as ClassName#method_name Cheers, Daniel