lib/solargraph/language_server/host.rb
# Clear the message buffer and return the most recent data.
#
# @return [String] The most recent data or an empty string.
Clear the message buffer and return the most recent data.
Clear the message buffer and return the most recent data .
def flush
        tmp = nil
        @buffer_semaphore.synchronize do
          tmp = @buffer.clone
          @buffer.clear
        end
        tmp
      end
def flush tmp = nil @buffer_semaphore . synchronize do tmp = @buffer . clone @buffer . clear end tmp end
Clear the message buffer and return the most recent data.
Clear the message buffer and return the most recent data .
The most recent data or an empty string.
The most recent data or an empty string .
String