このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
void rb_undef_method(VALUE klass, const char *name)
クラス klass のインスタンスメソッド name を undef します。