1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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:
nobu 2019-03-20 04:24:42 +00:00
parent b55586902d
commit 139634a16f

View file

@ -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);