summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authory-yagi <yuuji.yaginuma@gmail.com>2019-11-28 13:24:01 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-11-27 20:24:01 -0800
commit18953416def52824c46a68370c4b34f5b720ee3f (patch)
treeb83691ceb5c58d630803c2b43c8eb16289fefcea
parentc688026455a3a37b233333aa90bdd4633b3e6a91 (diff)
Fix documentation of `MonitorMixin#new_cond` [ci skip] (#2707)
Since https://github.com/ruby/ruby/pull/2576, `new_cond` uses the Monitor object, not the receiver.
-rw-r--r--ext/monitor/lib/monitor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/monitor/lib/monitor.rb b/ext/monitor/lib/monitor.rb
index b9ae03649c..821dccadbe 100644
--- a/ext/monitor/lib/monitor.rb
+++ b/ext/monitor/lib/monitor.rb
@@ -205,7 +205,7 @@ module MonitorMixin
#
# Creates a new MonitorMixin::ConditionVariable associated with the
- # receiver.
+ # Monitor object.
#
def new_cond
return ConditionVariable.new(@mon_data)