From 132453fa521cf87693035769031f3501ddc02f4a Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Fri, 21 Aug 2020 00:52:36 +1200 Subject: Rename `Fiber{}` to `Fiber.schedule{}`. --- doc/fiber.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/fiber.rdoc b/doc/fiber.rdoc index 8a107f5c3a..584e67ffca 100644 --- a/doc/fiber.rdoc +++ b/doc/fiber.rdoc @@ -101,7 +101,7 @@ context switching points. We also introduce a new method which simplifies the creation of these non-blocking fibers: - Fiber do + Fiber.schedule do puts Fiber.current.blocking? # false end -- cgit v1.2.3