lib/io/endpoint/connected_endpoint.rb in io-endpoint-0.13.1 vs lib/io/endpoint/connected_endpoint.rb in io-endpoint-0.14.0
- old
+ new
@@ -55,9 +55,13 @@
@socket = nil
end
end
def to_s
+ "connected:#{@endpoint}"
+ end
+
+ def inspect
"\#<#{self.class} #{@socket} connected for #{@endpoint}>"
end
end
class Generic