diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-27 17:43:25 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-27 17:43:25 +0000 |
commit | b8e24f19b5874ad7e6f8cbe88e4ff6c602b00f8d (patch) | |
tree | bc381adf023b79f9ad5e43079cea018aaf8ddda6 /vm.c | |
parent | bf96ea63623856a61d978da45a0f9b27560fe499 (diff) | |
download | ruby-b8e24f19b5874ad7e6f8cbe88e4ff6c602b00f8d.tar.gz |
* vm.c: Typo in overview for example of Thread#status returning false
Reported by Lee Jarvis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2306,7 +2306,7 @@ Init_VM(void) * thr = Thread.new { sleep } * thr.status # => "sleep" * thr.exit - * thr.status # => "false" + * thr.status # => false * * You can also use #alive? to tell if the thread is running or sleeping, * and #stop? if the thread is dead or sleeping. |