examples/echo_unix_client.rb in celluloid-io-0.13.1 vs examples/echo_unix_client.rb in celluloid-io-0.14.0.pre

- old
+ new

@@ -1,10 +1,11 @@ require 'bundler/setup' require 'celluloid/io' class EchoUNIXClient include Celluloid::IO + finalizer :finalize def initialize(socket_path) puts "*** connecting to #{socket_path}" @socket_path = socket_path @socket = UNIXSocket.open(socket_path) @@ -23,6 +24,6 @@ end end c = EchoUNIXClient.new("/tmp/sock_test") -c.echo("DATA") \ No newline at end of file +c.echo("DATA")