Module: Rereline

Defined in:
lib/rereline.rb,
lib/rereline/version.rb,
lib/rereline/debugger.rb,
lib/rereline/terminal.rb,
lib/rereline/key_actor.rb,
lib/rereline/key_stroke.rb,
lib/rereline/line_editor.rb

Defined Under Namespace

Classes: Debugger, Error, KeyActor, KeyStroke, LineEditor, Terminal

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.readline(prompt, use_history = false) ⇒ Object



9
10
11
# File 'lib/rereline.rb', line 9

def self.readline(prompt, use_history = false)
  Terminal.new(prompt, use_history).readline
end