Method: HighLine#get_response_line_mode

Defined in:
lib/highline.rb

#get_response_line_mode(question) ⇒ String

Get response one line at time

Parameters:

Returns:



531
532
533
534
535
536
537
# File 'lib/highline.rb', line 531

def get_response_line_mode(question)
  if question.echo == true && !question.limit
    get_line(question)
  else
    get_line_raw_no_echo_mode(question)
  end
end