summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-24 08:02:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-24 08:02:00 +0000
commite274c3ab76ca95dd089b6ef467700b4a0576dfad (patch)
treecc2e7fa4c4d0e86122f9a39b0a623720856485f5 /class.c
parent2b334012fc6feb1f6158943bbd9f15fbb262fc01 (diff)
* class.c (ins_methods_i): should not show ID_ALLOCATOR.
* class.c (ins_methods_prot_i): ditto. * class.c (ins_methods_priv_i): ditto. * class.c (ins_methods_pub_i): ditto. * eval.c (call_trace_func): ditto. * eval.c (rb_undefined): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r--class.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/class.c b/class.c
index 6aed94a..a18cdbc 100644
--- a/class.c
+++ b/class.c
@@ -459,6 +459,7 @@ ins_methods_i(key, body, ary)
NODE *body;
VALUE ary;
{
+ if (key == ID_ALLOCATOR) return ST_CONTINUE;
if (!body->nd_body) {
rb_ary_push(ary, Qnil);
rb_ary_push(ary, rb_str_new2(rb_id2name(key)));
@@ -483,6 +484,7 @@ ins_methods_prot_i(key, body, ary)
NODE *body;
VALUE ary;
{
+ if (key == ID_ALLOCATOR) return ST_CONTINUE;
if (!body->nd_body) {
rb_ary_push(ary, Qnil);
rb_ary_push(ary, rb_str_new2(rb_id2name(key)));
@@ -507,6 +509,7 @@ ins_methods_priv_i(key, body, ary)
NODE *body;
VALUE ary;
{
+ if (key == ID_ALLOCATOR) return ST_CONTINUE;
if (!body->nd_body) {
rb_ary_push(ary, Qnil);
rb_ary_push(ary, rb_str_new2(rb_id2name(key)));
@@ -531,6 +534,7 @@ ins_methods_pub_i(key, body, ary)
NODE *body;
VALUE ary;
{
+ if (key == ID_ALLOCATOR) return ST_CONTINUE;
if (!body->nd_body) {
rb_ary_push(ary, Qnil);
rb_ary_push(ary, rb_str_new2(rb_id2name(key)));