rb_remove_method

Function rb_remove_method 

Source
pub unsafe extern "C" fn rb_remove_method(
    klass: VALUE,
    name: *const c_char,
)
Expand description

Removes a method. Don’t confuse this to rb_undef_method, which doesn’t remove a method. This one resembles Module#remove_method.

§@param[out] klass The class to remove a method. @param[in] name Name of a method to be removed. @exception rb_eTypeError klass is a non-module. @exception rb_eFrozenError klass is frozen. @exception rb_eNameError No such method. @see rb_undef_method

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3