Hi,

In message "Prevent method override?"
    on 03/03/13, James Davis <jd204c / nak.spak.nih.gov> writes:

|Is there a way to prevent a subclass from overriding a method that was
|defined by an ancestor?  Ideally, I would like to be able to prevent
|changes at the granularity of a method rather than an entire class or
|module.  Thanks in advance,

def statement calls "method_added" _after_ the method definition, so
you can prevent overriding by removing the method from the class and
then raising an error from the method_added class method.

Note that this scheme does not prevent removing and replacing in the
parent class.

							matz.