data/doc/xmpp4r/examples/basic/client.rb in xmpp4r-0.5.5 vs data/doc/xmpp4r/examples/basic/client.rb in xmpp4r-0.5.6
- old
+ new
@@ -17,10 +17,10 @@
puts "Welcome to this Basic Console Jabber Client!"
quit = false
# main loop
while not quit do
print "> "
- $defout.flush
+ $>.flush
line = gets
quit = true if line.nil?
if not quit
command, args = line.split(' ', 2)
args = args.to_s.chomp