class Bane::Behaviors::Responders::EchoResponse

Public Instance Methods

serve(io) click to toggle source
# File lib/bane/behaviors/responders/echo_response.rb, line 8
def serve(io)
  while (input = io.gets)
    io.write(input)
  end
  io.close
end