summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-18 17:00:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-18 17:00:43 +0000
commitd0878214803bb2f71be28890ea73600a9a42cd27 (patch)
tree265f93c10f4ffca7ac08b93732f8d5a3e7cdb007 /eval.c
parent1bb3071bde8344427a5fe3f5998dc491d2630d2b (diff)
* eval.c (rb_attr): extra calls of method_added. [ruby-talk:76361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index f520bfa..94e5257 100644
--- a/eval.c
+++ b/eval.c
@@ -560,13 +560,11 @@ rb_attr(klass, id, read, write, ex)
attriv = rb_intern(buf);
if (read) {
rb_add_method(klass, id, NEW_IVAR(attriv), noex);
- rb_funcall(klass, added, 1, ID2SYM(id));
}
if (write) {
sprintf(buf, "%s=", name);
id = rb_intern(buf);
rb_add_method(klass, id, NEW_ATTRSET(attriv), noex);
- rb_funcall(klass, added, 1, ID2SYM(id));
}
}