method

redefine_method

v6.0.0 - Show latest stable - Class: Module
redefine_method(method, &block)
public

Replaces the existing method definition, if there is one, with the passed block as its body.