module EchoServer

Public Instance Methods

post_init() click to toggle source
# File lib/statsd/echos.rb, line 8
def post_init
  puts "-- someone connected to the server!"
end
receive_data(data) click to toggle source
# File lib/statsd/echos.rb, line 12
def receive_data data
  puts data
  send_data ">>> you sent: #{data}"
end