RubySpec #2466: Mutex#lock documentation is incorrect
http://redmine.ruby-lang.org/issues/show/2466

Author: Vladimir Sizikov
Status: Open, Priority: Normal

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.


----------------------------------------
http://redmine.ruby-lang.org