module Reline

Constants

CursorPos
FILENAME_COMPLETION_PROC
HISTORY
IOGate
Key
USERNAME_COMPLETION_PROC

Public Class Methods

core() click to toggle source
# File lib/reline.rb, line 373
def self.core
  @core ||= Core.new { |core|
    core.config = Reline::Config.new
    core.key_stroke = Reline::KeyStroke.new(core.config)
    core.line_editor = Reline::LineEditor.new(core.config)

    core.basic_word_break_characters = " \t\n`><=;|&{("
    core.completer_word_break_characters = " \t\n`><=;|&{("
    core.basic_quote_characters = '"\''
    core.completer_quote_characters = '"\''
    core.filename_quote_characters = ""
    core.special_prefixes = ""
  }
end
insert_text(*args, &block) click to toggle source
# File lib/reline.rb, line 360
def self.insert_text(*args, &block)
  line_editor.insert_text(*args, &block)
  self
end
line_editor() click to toggle source
# File lib/reline.rb, line 388
def self.line_editor
  core.line_editor
end