diff options
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -521,7 +521,6 @@ ins_methods_push(ID name, long type, VALUE ary, long visi) case NOEX_PRIVATE: case NOEX_PROTECTED: case NOEX_PUBLIC: - case NOEX_LOCAL: visi = (type == visi); break; default: @@ -559,12 +558,6 @@ ins_methods_pub_i(ID name, long type, VALUE ary) } static int -ins_methods_local_i(ID name, long type, VALUE ary) -{ - return ins_methods_push(name, type, ary, NOEX_LOCAL); -} - -static int method_entry(ID key, NODE *body, st_table *list) { long type; @@ -703,19 +696,6 @@ rb_class_public_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * mod.local_methods => array - * - * Returns a list of the local methods defined in <i>mod</i>. - */ - -VALUE -rb_class_local_methods(VALUE mod) -{ - return class_instance_method_list(0, 0, mod, ins_methods_local_i); -} - -/* - * call-seq: * obj.singleton_methods(all=true) => array * * Returns an array of the names of singleton methods for <i>obj</i>. |