1
0
Fork 0
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:
y-yagi 2019-11-28 13:24:01 +09:00 committed by Takashi Kokubun
parent c688026455
commit 18953416de

View file

@ -205,7 +205,7 @@ module MonitorMixin
# #
# Creates a new MonitorMixin::ConditionVariable associated with the # Creates a new MonitorMixin::ConditionVariable associated with the
# receiver. # Monitor object.
# #
def new_cond def new_cond
return ConditionVariable.new(@mon_data) return ConditionVariable.new(@mon_data)