зеркало из https://github.com/github/ruby.git
vm_trace.c: [DOC] remove the trick [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b55586902d
Коммит
139634a16f
|
@ -1782,9 +1782,6 @@ Init_vm_trace(void)
|
|||
rb_define_singleton_method(rb_cTracePoint, "trace", tracepoint_trace_s, -1);
|
||||
|
||||
rb_define_method(rb_cTracePoint, "__enable", tracepoint_enable_m, 3);
|
||||
#if 0 /* trick rdoc, defined in prelude.rb now */
|
||||
rb_define_method(rb_cTracePoint, "enable", tracepoint_enable_m, 3);
|
||||
#endif
|
||||
rb_define_method(rb_cTracePoint, "disable", tracepoint_disable_m, 0);
|
||||
rb_define_method(rb_cTracePoint, "enabled?", rb_tracepoint_enabled_p, 0);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче