method

redefine_method

v5.0.0.1 - 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.