examples/echo_client.rb in pigato-0.1.8 vs examples/echo_client.rb in pigato-0.1.9
- old
+ new
@@ -2,10 +2,10 @@
require "rubygems"
require "#{File.dirname(__FILE__)}/../lib/pigato.rb"
#require "pigato"
-client = PigatoClient.new('tcp://localhost:55555')
+client = Pigato::Client.new('tcp://localhost:55555')
requests = 1000
d1 = Time.now
requests.times do |i|
begin
client.send('echo', 'Hello world')