summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-02 14:30:48 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-02 14:30:48 +0000
commitf0feb0a4f024f8763763005937c664ef3013a595 (patch)
treec06b36962348b0eae12e507ab379d959e00cca4f /cont.c
parent9cf2170e78dd1f6f9f7978d05d6947e6025dd61f (diff)
* cont.c (rb_fiber_m_transfer): improve sample code in Fiber#transfer
documentation. emphasize the difference between transfer and resume. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cont.c b/cont.c
index d900d5a..2a90771 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