Class: Pry::Shell::Repl

Inherits:
REPL
  • Object
show all
Defined in:
lib/pry/shell/repl.rb

Instance Method Summary collapse

Instance Method Details

#read_line(current_prompt) ⇒ Object



8
9
10
11
12
13
# File 'lib/pry/shell/repl.rb', line 8

def read_line(current_prompt)
  handle_read_errors do
    setup_auto_completion
    read_command(current_prompt)
  end
end