lib/celluloid/pool_manager.rb in celluloid-0.12.0 vs lib/celluloid/pool_manager.rb in celluloid-0.12.1.pre

- old
+ new

@@ -74,9 +74,13 @@ def inspect _send_ :inspect end + def size + @size + end + # Provision a new worker def __provision_worker while @idle.empty? # Wait for responses from one of the busy workers response = exclusive { receive { |msg| msg.is_a?(Response) } }