README.md in celluloid-zmq-0.10.0 vs README.md in celluloid-zmq-0.12.0
- old
+ new
@@ -56,10 +56,10 @@
raise
end
end
def run
- while true; handle_message! @socket.read; end
+ loop { handle_message! @socket.read }
end
def handle_message(message)
puts "got message: #{message}"
end