summaryrefslogtreecommitdiff
path: root/intern.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-30 08:04:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-30 08:04:32 +0000
commited1881510950af3d8599c1a7dca14d53c35eb348 (patch)
tree2f685ff48cc03c119fe1d059e933834db03c2dae /intern.h
parenta2868ff65166b27acbbda4af1b9df84ed3171541 (diff)
* eval.c (rb_mod_public_method_defined, etc.): new methods:
public_method_defined?, private_method_defined?, protected_method_defined? * object.c (rb_obj_public_methods): new method Object#public_methods. * class.c (ins_methods_i): Object#methods should list both public and protected methods. * class.c (rb_class_public_instance_methods): new method Module#public_instance_methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index 4244a33..3fcb60c 100644
--- a/intern.h
+++ b/intern.h
@@ -106,6 +106,7 @@ VALUE rb_mod_included_modules _((VALUE));
VALUE rb_mod_include_p _((VALUE, VALUE));
VALUE rb_mod_ancestors _((VALUE));
VALUE rb_class_instance_methods _((int, VALUE*, VALUE));
+VALUE rb_class_public_instance_methods _((int, VALUE*, VALUE));
VALUE rb_class_protected_instance_methods _((int, VALUE*, VALUE));
VALUE rb_class_private_instance_methods _((int, VALUE*, VALUE));
VALUE rb_obj_singleton_methods _((int, VALUE*, VALUE));