In a message dated Mon, 14 Oct 2002, Michael Lazzaro writes: > So if the first two should be shorter than the third, one way to do > that would be something like: > > class SomeClass { > cmethod class_method {...} # via a keyword > method instance_method {...} # via another keyword > sub dont_care_method {...} # check it yourself, as 1st arg > } > > Except for the fact that the word 'cmethod' is not a terribly intuitive > choice.
I don't know about this precisely, but I will say that I have a strong intuition that C<sub> within a class block I<should> mean something, and be neither a syntax error nor a synonym for C<method>. Trey