summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-13 14:08:37 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-13 14:08:37 +0000
commit7f40b1581b94556db32477344ba3d9318d595019 (patch)
tree4b375a817fe9e01d33a0d5ff6e4436f11c52d4c9
parente810c3e2a91851bf8756419d48442afaf9acfc9c (diff)
downloadruby-7f40b1581b94556db32477344ba3d9318d595019.tar.gz
ruby-7f40b1581b94556db32477344ba3d9318d595019.tar.xz
ruby-7f40b1581b94556db32477344ba3d9318d595019.zip
doc fix: mutex.lock => self [ruby-core:27115]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 9c6ec5b73..0ba41c767 100644
--- a/thread.c
+++ b/thread.c
@@ -3148,7 +3148,7 @@ lock_interrupt(void *ptr)
/*
* call-seq:
- * mutex.lock => true or false
+ * mutex.lock => self
*
* Attempts to grab the lock and waits if it isn't available.
* Raises +ThreadError+ if +mutex+ was locked by the current thread.