lib/web-repl/repl.rb
# Wait for a response from the browser
Wait for a response from the browser
Wait for a response from the browser
def wait_for_response(options)
      until !@buffer.empty? do
      end
      @buffer.each { |resp| puts_message(resp) }
      @buffer.clear
      input unless !!options[:background]
    end
def wait_for_response ( options ) until ! @buffer . empty? do end @buffer . each { | resp | puts_message ( resp ) } @buffer . clear input unless ! ! options [ :background ] end
Wait for a response from the browser
Wait for a response from the browser
options