Class: IRB::ReidlineInputMethod
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
IRB::RelineInputMethod
|
Defined in: | lib/irb/input-method.rb |
Constant Summary
Class Method Summary
- .new ⇒ ReidlineInputMethod constructor
RelineInputMethod
- Inherited
.new | Creates a new input method object using Reline. |
StdioInputMethod
- Inherited
.new | Creates a new input method object. |
Instance Attribute Summary
RelineInputMethod
- Inherited
#eof? | Whether the end of this input method has been reached, returns |
#prompting? |
HistorySavingAbility
- Included
StdioInputMethod
- Inherited
#eof? | Whether the end of this input method has been reached, returns |
#prompting?, | |
#readable_after_eof? | Whether this input method is still readable when there is no more data to read. |
InputMethod
- Inherited
#prompt | The irb prompt associated with this input method. |
#prompting?, | |
#readable_after_eof? | Whether this input method is still readable when there is no more data to read. |
#support_history_saving? |
Instance Method Summary
RelineInputMethod
- Inherited
#auto_indent, #check_termination, #completion_info, #display_document, #dynamic_prompt, | |
#gets | Reads the next line from this input method. |
#inspect | For debug message. |
#rdoc_ri_driver, #retrieve_doc_namespace, #show_doc_dialog_proc |
HistorySavingAbility
- Included
#load_history, #reset_history_counter, #save_history, | |
#ensure_history_file_writable | Returns boolean whether writing to |
StdioInputMethod
- Inherited
#encoding | The external encoding for standard input. |
#gets | Reads the next line from this input method. |
#inspect | For debug message. |
#line | Returns the current line number for |
InputMethod
- Inherited
Constructor Details
.new ⇒ ReidlineInputMethod
# File 'lib/irb/input-method.rb', line 508
def initialize warn <<~MSG.strip IRB::ReidlineInputMethod is deprecated, please use IRB::RelineInputMethod instead. MSG super end