From da28e65c2c97ed0859e34703cff01558e12777a8 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 11 Oct 2007 13:20:14 +0000 Subject: * include/ruby/node.h (NOEX_LOCAL): remove unused local visibility. * class.c (ins_methods_push): ditto. * class.c (rb_class_local_methods): method removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'object.c') diff --git a/object.c b/object.c index 031d2afdc..660c9e1fe 100644 --- a/object.c +++ b/object.c @@ -2436,8 +2436,6 @@ Init_Object(void) rb_class_protected_instance_methods, -1); /* in class.c */ rb_define_method(rb_cModule, "private_instance_methods", rb_class_private_instance_methods, -1); /* in class.c */ - rb_define_method(rb_cModule, "local_methods", - rb_class_local_methods, 0); /* in class.c */ rb_define_method(rb_cModule, "constants", rb_mod_constants, -1); /* in variable.c */ rb_define_method(rb_cModule, "const_get", rb_mod_const_get, -1); -- cgit