diff --git a/ChangeLog b/ChangeLog index 03122c71c9..aeebf56a5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed May 2 23:26:04 2012 CHIKANAGA Tomoyuki + + * cont.c (rb_fiber_m_transfer): improve sample code in Fiber#transfer + documentation. emphasize the difference between transfer and resume. + Wed May 2 23:21:20 2012 Nobuyoshi Nakada * parse.y (parser_yylex): allow spaces between lambda arrow and diff --git a/cont.c b/cont.c index d900d5a3c9..2a9077108a 100644 --- a/cont.c +++ b/cont.c @@ -1436,6 +1436,7 @@ rb_fiber_m_resume(int argc, VALUE *argv, VALUE fib) * fiber2 = Fiber.new do * puts "In Fiber 2" * fiber1.transfer + * puts "Never see this message" * end * * fiber3 = Fiber.new do