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
@ -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…
x
Reference in New Issue
Block a user