Class: Pry::Input::SimpleStdio

Inherits:
Object
  • Object
show all
Defined in:
lib/pry/input/simple_stdio.rb

Overview

Readline replacement for low-capability terminals.

Class Method Summary collapse

Class Method Details

.readline(prompt) ⇒ Object



7
8
9
10
# File 'lib/pry/input/simple_stdio.rb', line 7

def self.readline(prompt)
  Pry.config.output.print(prompt)
  $stdin.gets
end