examples/shared_memory.rb in asynchronous-2.0.0 vs examples/shared_memory.rb in asynchronous-2.1.0
- old
+ new
@@ -9,10 +9,10 @@
end
end
loop do
- if SharedMemory.test_value >= 10
+ if shared_memory.test_value >= 10
Process.exit
end
puts SharedMemory.test_value
sleep 1
end