mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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.
This commit is contained in:
parent
c688026455
commit
18953416de
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue