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

InputMethod - Inherited

BASIC_WORD_BREAK_CHARACTERS

RelineInputMethod - Inherited

HISTORY

Class Method Summary

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

#prompting?

HistorySavingAbility - Included

StdioInputMethod - Inherited

#eof?

Whether the end of this input method has been reached, returns true if there is no more data to read.

#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

HistorySavingAbility - Included

#load_history, #reset_history_counter, #save_history,
#ensure_history_file_writable

Returns boolean whether writing to history_file will be possible.

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 #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 508

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