class MessageQueue
  def initialize(client_socket)
    @socket = client_socket.accept
    puts 'Client connected'
  end

  def run
    @socket.write('HELLO')
    @socket.close
  end
end

class MessageQueue
  attr_writer :queue

  def initialize(client_socket)
    @socket = client_socket.accept
    @queue = Queue.new

    puts 'Client connected'
  end

  def run
    @socket.puts('HELLO')
  end

  def drop(message)
    @socket.puts(message)
    @socket.close
  end
end

Add drop method and queue attribute
Add drop method and queue attribute
