From ed1881510950af3d8599c1a7dca14d53c35eb348 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 30 Oct 2002 08:04:32 +0000 Subject: * 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 --- node.h | 1 + 1 file changed, 1 insertion(+) (limited to 'node.h') diff --git a/node.h b/node.h index 75c3615e96..ec27c86012 100644 --- a/node.h +++ b/node.h @@ -338,6 +338,7 @@ typedef struct RNode { #define NOEX_CFUNC 1 #define NOEX_PRIVATE 2 #define NOEX_PROTECTED 4 +#define NOEX_MASK 6 NODE *rb_compile_cstr _((const char*, const char*, int, int)); NODE *rb_compile_string _((const char*, VALUE, int)); -- cgit v1.2.3