diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-08-21 00:52:36 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-09-14 16:44:09 +1200 |
commit | 132453fa521cf87693035769031f3501ddc02f4a (patch) | |
tree | 90ba74930593c89d626b623bf538bca614975b28 /doc | |
parent | d387029f39d976565c955377117103499d47ff09 (diff) |
Rename `Fiber{}` to `Fiber.schedule{}`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3434
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fiber.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |