module RawLine

The RawLine (or Rawline) module can be used in the same way as the Readline one.

editor.rb

Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.

This is Free Software. See LICENSE for details.

history_buffer.rb

Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.

This is Free Software. See LICENSE for details.

line.rb

Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.

This is Free Software. See LICENSE for details.

terminal.rb

Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.

This is Free Software. See LICENSE for details.

vt220_terminal.rb

Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.

This is Free Software. See LICENSE for details.

windows_terminal.rb

Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.

This is Free Software. See LICENSE for details.

Constants

FILENAME_COMPLETION_PROC
HISTORY

Attributes

editor[RW]

Public Class Methods

ansi?() click to toggle source
# File lib/rawline.rb, line 30
def self.ansi?; true; end
rawline_version() click to toggle source
# File lib/rawline.rb, line 20
def self.rawline_version
        "0.3.2"
end
win32console?() click to toggle source
# File lib/rawline.rb, line 29
def self.win32console?; true; end

Public Instance Methods

rawline(prompt="", add_history=false)
Alias for: readline
readline(prompt="", add_history=false) click to toggle source
# File lib/rawline.rb, line 98
def readline(prompt="", add_history=false)
        RawLine.editor.read prompt, add_history
end
Also aliased as: rawline