Module
Constants
NOTE: For making compatible with the rb-readline gem
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
Deprecated
No documentation available
No documentation available
Class Methods
::
lib/reline.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline.rb, line 483
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.encoding)
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 = ""
core.add_dialog_proc(:autocomplete, Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE, Reline::DEFAULT_DIALOG_CONTEXT)
}
end
No documentation available
lib/reline.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline.rb, line 479
def self.encoding_system_needs
self.core.encoding
end
No documentation available
lib/reline.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline.rb, line 460
def self.insert_text(*args, &block)
line_editor.insert_text(*args, &block)
self
end
No documentation available
::
lib/reline.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline.rb, line 503
def self.line_editor
core.line_editor
end
No documentation available
::
lib/reline.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline.rb, line 499
def self.ungetc(c)
core.io_gate.ungetc(c)
end
No documentation available