I missed this, but for whatever it's worth, I think this is a terrible
idea, as it will break tons of code.
If a feature such as this is added, it should be done the opposite way.
class C
def process
self.util # calls C's util even if overriden
util # calls subclass util, if present
end
end
albeit I would strongly advocate for a new keyword instead of using
"self".
----------
It said that Matz brought up the idea for changing the way method
search
occurs. David A. Black clarified the comments with an example:
class C
def process
util # will always call C#util, even if overridden
self.util # will call subclass's #util, if present
end
def util
end
end
-------------