method
silence_redefinition_of_method
v7.2.3 -
Show latest stable
- Class:
Module
silence_redefinition_of_method(method)public
Marks the named method as intended to be redefined, if it exists. Suppresses the Ruby method redefinition warning. Prefer #redefine_method where possible.