diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 05:52:27 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 05:52:27 +0000 |
commit | 89c889d4e72eb39bb70734d2360b9607c1099bdb (patch) | |
tree | 434a38078839ea02266c5445a9d60830c82613ec /vm_trace.c | |
parent | 502ab126ac8d4b87edebb786e69042f13463e525 (diff) | |
download | ruby-89c889d4e72eb39bb70734d2360b9607c1099bdb.tar.gz |
* vm_trace.c (rb_tracepoint_attr_defined_class):
rename TracePoint#klass to TracePoint#defined_class.
[ruby-core:50187] Re: [ruby-trunk - Feature #6895]
* include/ruby/debug.h: ditto.
* test/ruby/test_settracefunc.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_trace.c b/vm_trace.c index ddd8dfd3be..6971f9dd75 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -711,7 +711,7 @@ rb_tracepoint_attr_id(VALUE tpval) } VALUE -rb_tracepoint_attr_klass(VALUE tpval) +rb_tracepoint_attr_defined_class(VALUE tpval) { rb_tp_t *tp = tpptr(tpval); tp_attr_check_active(tp); @@ -960,7 +960,7 @@ Init_vm_trace(void) rb_define_method(rb_cTracePoint, "lineno", rb_tracepoint_attr_lineno, 0); rb_define_method(rb_cTracePoint, "path", rb_tracepoint_attr_path, 0); rb_define_method(rb_cTracePoint, "id", rb_tracepoint_attr_id, 0); - rb_define_method(rb_cTracePoint, "klass", rb_tracepoint_attr_klass, 0); + rb_define_method(rb_cTracePoint, "defined_class", rb_tracepoint_attr_defined_class, 0); rb_define_method(rb_cTracePoint, "binding", rb_tracepoint_attr_binding, 0); rb_define_method(rb_cTracePoint, "self", rb_tracepoint_attr_self, 0); rb_define_method(rb_cTracePoint, "return_value", rb_tracepoint_attr_return_value, 0); |