removed newline from echo string
This commit is contained in:
parent
62c3c3f766
commit
265f7242a0
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ s = TCPSocket.open(hostname, port)
|
||||||
|
|
||||||
print "What to echo? "
|
print "What to echo? "
|
||||||
q = gets
|
q = gets
|
||||||
s.print(q)
|
s.print(q.chop)
|
||||||
|
|
||||||
while true
|
while true
|
||||||
line = s.gets # Read lines from the socket
|
line = s.gets # Read lines from the socket
|
||||||
|
|
Reference in a new issue