Actions
Bug #2466
closedMutex#lock documentation is incorrect
Description
=begin
Currently, it states:
mutex.lock => true or false
But actually, the Mutex#lock always just returns self, which is the most sensible behavior.
The doc should be:
mutex.lock => self
That would be in sync with Mutex#unlock as well.
=end
Updated by marcandre (Marc-Andre Lafortune) about 14 years ago
- Status changed from Open to Closed
- ruby -v set to 1.9 trunk
=begin
Applied in r26072
=end
Actions
Like0
Like0