Class: IRB::ReidlineInputMethod

Inherits:
RelineInputMethod show all
Defined in:
lib/irb/input-method.rb

Constant Summary

Constants inherited from RelineInputMethod

IRB::RelineInputMethod::HISTORY

Constants inherited from InputMethod

InputMethod::BASIC_WORD_BREAK_CHARACTERS

Instance Attribute Summary

Attributes inherited from InputMethod

#prompt

Instance Method Summary collapse

Methods inherited from RelineInputMethod

#auto_indent, #check_termination, #completion_info, #display_document, #dynamic_prompt, #eof?, #gets, #inspect, #retrieve_doc_namespace, #show_doc_dialog_proc

Methods included from HistorySavingAbility

#load_history, #reset_history_counter, #save_history, #support_history_saving?

Methods inherited from StdioInputMethod

#encoding, #eof?, #gets, #inspect, #line, #readable_after_eof?

Methods inherited from InputMethod

#gets, #inspect, #readable_after_eof?, #support_history_saving?, #winsize

Constructor Details

#initializeReidlineInputMethod

Returns a new instance of ReidlineInputMethod.



481
482
483
484
485
486
# File 'lib/irb/input-method.rb', line 481

def initialize
  warn <<~MSG.strip
    IRB::ReidlineInputMethod is deprecated, please use IRB::RelineInputMethod instead.
  MSG
  super
end