From: Vladimir Sizikov Date: 2009-12-09T21:58:17+09:00 Subject: [ruby-core:27113] [RubySpec #2466] Mutex#lock documentation is incorrect 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