From b8e24f19b5874ad7e6f8cbe88e4ff6c602b00f8d Mon Sep 17 00:00:00 2001 From: zzak Date: Wed, 27 Feb 2013 17:43:25 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ vm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1a512ad30c..07499bdc0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 28 02:42:00 2013 Zachary Scott + + * vm.c: Typo in overview for example of Thread#status returning false + Reported by Lee Jarvis + Wed Feb 27 22:54:27 2013 Tanaka Akira * ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS diff --git a/vm.c b/vm.c index 999c29310f..4587d60442 100644 --- a/vm.c +++ b/vm.c @@ -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.