lib/rainbows/fiber/io/methods.rb in rainbows-4.0.0 vs lib/rainbows/fiber/io/methods.rb in rainbows-4.1.0

- old
+ new

@@ -27,10 +27,10 @@ fd = fileno RD[fd] = WR[fd] = nil super end - def kgio_wait_readable + def kgio_wait_readable(timeout = nil) fd = fileno @f = Fiber.current RD[fd] = self Fiber.yield ZZ.delete @f