examples/echo_worker.rb in pigato-0.1.8 vs examples/echo_worker.rb in pigato-0.1.9
- old
+ new
@@ -2,10 +2,10 @@
require "rubygems"
require "#{File.dirname(__FILE__)}/../lib/pigato.rb"
#require "pigato"
-worker = PigatoWorker.new('tcp://localhost:55555', 'echo')
+worker = Pigato::Worker.new('tcp://localhost:55555', 'echo')
reply = nil
loop do
request = worker.recv reply
worker.reply request