examples/echo_unix_client.rb in celluloid-io-0.17.1 vs examples/echo_unix_client.rb in celluloid-io-0.17.2
- old
+ new
@@ -1,7 +1,7 @@
-require 'bundler/setup'
-require 'celluloid/io'
+require "bundler/setup"
+require "celluloid/io"
class EchoUNIXClient
include Celluloid::IO
finalizer :finalize
@@ -20,10 +20,9 @@
end
def finalize
@socket.close if @socket
end
-
end
c = EchoUNIXClient.new("/tmp/sock_test")
c.echo("DATA")