lib/async/container/generic.rb in async-container-0.16.10 vs lib/async/container/generic.rb in async-container-0.16.11
- old
+ new
@@ -271,10 +271,10 @@
@state.delete(child)
end
private
- if Fiber.respond_to?(:blocking)
+ if Fiber.respond_to?(:blocking?)
def fiber(&block)
Fiber.new(blocking: true, &block)
end
else
def fiber(&block)