aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-08 16:43:23 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-08 16:43:23 +0000
commit813ab70bd00378cfd56ff91442e1bc4dcc7349a3 (patch)
tree649ad576bddd9091e17197ab563c9f4e5defcafb
parent0a6352ccb8d61a32a453b8d6814f532e494c7870 (diff)
downloadruby-813ab70bd00378cfd56ff91442e1bc4dcc7349a3.tar.gz
Fix typo in doc [ci skip]
`enable` and `disable` are instance methods. Patch by: yuuji.yaginuma <yuuji.yaginuma@gmail.com> https://github.com/ruby/ruby/pull/1744 [Fix GH-1744] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--vm_trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_trace.c b/vm_trace.c
index 4e79ae279a..7f31de3305 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -1217,7 +1217,7 @@ rb_tracepoint_new(VALUE target_thval, rb_event_flag_t events, void (*func)(VALUE
*
* Returns a new TracePoint object, not enabled by default.
*
- * Next, in order to activate the trace, you must use TracePoint.enable
+ * Next, in order to activate the trace, you must use TracePoint#enable
*
* trace = TracePoint.new(:call) do |tp|
* p [tp.lineno, tp.defined_class, tp.method_id, tp.event]
@@ -1232,7 +1232,7 @@ rb_tracepoint_new(VALUE target_thval, rb_event_flag_t events, void (*func)(VALUE
* # [48, IRB::Notifier::AbstractNotifier, :printf, :call]
* # ...
*
- * When you want to deactivate the trace, you must use TracePoint.disable
+ * When you want to deactivate the trace, you must use TracePoint#disable
*
* trace.disable
*