Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

Method#super_method

() -> ::Method?
meth.super_method → method

Returns a Method of superclass which would be called when super is used or nil if there is no method on superclass.