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
InputMethod - Inherited
RelineInputMethod - Inherited
ALT_D_SEQUENCES, ALT_KEY_NAME, HISTORY, PRESS_ALT_D_TO_READ_FULL_DOC, PRESS_ALT_D_TO_SEE_MORE
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, #command_doc_dialog_contents, #completion_info, #dialog_doc_position, #display_document, #dynamic_prompt, #easter_egg_dialog_contents, | |
| #gets | Reads the next line from this input method. |
| #inspect | For debug message. |
| #rdoc_dialog_contents, #rdoc_ri_driver, #retrieve_document_target, #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 544
def initialize warn <<~MSG.strip IRB::ReidlineInputMethod is deprecated, please use IRB::RelineInputMethod instead. MSG super end