ruby-changes:58933
From: y-yagi <ko1@a...>
Date: Thu, 28 Nov 2019 13:24:25 +0900 (JST)
Subject: [ruby-changes:58933] 18953416de (master): Fix documentation of `MonitorMixin#new_cond` [ci skip] (#2707)
https://git.ruby-lang.org/ruby.git/commit/?id=18953416de From 18953416def52824c46a68370c4b34f5b720ee3f Mon Sep 17 00:00:00 2001 From: y-yagi <yuuji.yaginuma@g...> Date: Thu, 28 Nov 2019 13:24:01 +0900 Subject: 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. diff --git a/ext/monitor/lib/monitor.rb b/ext/monitor/lib/monitor.rb index b9ae036..821dcca 100644 --- a/ext/monitor/lib/monitor.rb +++ b/ext/monitor/lib/monitor.rb @@ -205,7 +205,7 @@ module MonitorMixin https://github.com/ruby/ruby/blob/trunk/ext/monitor/lib/monitor.rb#L205 # # Creates a new MonitorMixin::ConditionVariable associated with the - # receiver. + # Monitor object. # def new_cond return ConditionVariable.new(@mon_data) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/