method

redefine_singleton_method

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: Module
redefine_singleton_method(method, &block) public

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

Show source
Register or log in to add new notes.