In Ruby you can call a parent class’s method from another method in a child:
class Child < Parent
).bind(self).call - foo
# == -1
You can also check whether a method has been overridden, but you have to be wary of modules.
method(:foo).owner == self.class
Why would you want to?
@sfcgeorge You could also just use alias and save yourself all that mad stuff
@sfcgeorge there is such place deep in `Net::HTTP` -- a method called `send`. I had to do the same thing to call it from the subclass instance.
A Mastodon instance for Rubyists & friends