123456789_123456789_123456789_123456789_123456789_

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

RelineInputMethod - Inherited

SHOW_DOC_DIALOG

Class Method Summary

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 true if there is no more data to read.

#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 #io.

InputMethod - Inherited

#gets

Reads the next line from this input method.

#inspect

For debug message.

#winsize

Constructor Details

.newReidlineInputMethod

[ GitHub ]

  
# 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