Jesús Gabriel y Galán wrote: > >> Instance method : Customer.new.phone # (probably yields an error : phone >> number not set) >> Class method : Customer.find(:first) # (Rails-style) >> >> Right ? > > Right, but it would be more clear to say module method, in my opinion. > Well -- Math.sqrt(5) : Module method, because it's defined in a module Customer.find(:first) : Class method, because it's defined in the class Right? :) -- Posted via http://www.ruby-forum.com/.