method

def_pre_proc

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

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