From: Simon Krahnke Date: 2009-02-08T04:34:14+09:00 Subject: Re: Making object methods available externally * David Stanford (2009-02-04) schrieb: > Rob Biedenharn wrote: >> On Feb 4, 2009, at 1:37 PM, David Stanford wrote: > >> class CheesePhrase >> def initialize(phrase) >> @phrase = phrase >> say_it >> end >> >> def self.say_it(phrase) >> puts phrase >> end >> def say_it >> self.class.say_it(@phrase) >> end >> end > Thanks a lot, Rob. Is this really the standard way of implementing > something like this? It just seems a little redundant, no? Where do you see the redundancy? Nothing is repeated. mfg, simon .... l