method

def_post_proc

ruby latest stable - Class: IRB::MethodExtender
def_post_proc(base_method, extend_method)
public

Extends the given base_method with a postfix call to the given extend_method.