Class: ExecRemote::Shell::ReadlineFallback

Inherits:
Object
  • Object
show all
Defined in:
lib/exec_remote/shell.rb

Overview

:nodoc:

Constant Summary collapse

HISTORY =
[]

Class Method Summary collapse

Class Method Details

.readline(prompt) ⇒ Object



6
7
8
9
10
# File 'lib/exec_remote/shell.rb', line 6

def self.readline(prompt)
  STDOUT.print(prompt)
  STDOUT.flush
  STDIN.gets
end