Class: IRB::ReidlineInputMethod
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RelineInputMethod ,
InputMethod
|
|
Instance Chain:
self,
RelineInputMethod ,
Reline,
InputMethod
|
|
Inherits: |
IRB::RelineInputMethod
|
Defined in: | lib/irb/input-method.rb |
Constant Summary
RelineInputMethod
- Inherited
Class Method Summary
- .new ⇒ ReidlineInputMethod constructor
RelineInputMethod
- Inherited
.new | Creates a new input method object using Reline. |
InputMethod
- 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 |
#readable_after_eof? | Whether this input method is still readable when there is no more data to read. |
InputMethod
- Inherited
#file_name | The file name of this input method, usually given during initialization. |
#prompt | The irb prompt associated with this input method. |
#readable_after_eof? | Whether this input method is still readable when there is no more data to read. |
Instance Method Summary
RelineInputMethod
- Inherited
#auto_indent, #check_termination, #dynamic_prompt, | |
#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 476
def initialize warn <<~MSG.strip IRB::ReidlineInputMethod is deprecated, please use IRB::RelineInputMethod instead. MSG super end