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, #prompting?, #rdoc_ri_driver, #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, #prompting?, #readable_after_eof?

Methods inherited from InputMethod

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

Constructor Details

#initializeReidlineInputMethod

Returns a new instance of ReidlineInputMethod.



500
501
502
503
504
505
# File 'lib/irb/input-method.rb', line 500

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