class IRB::InputMethod

:nodoc:

def gets

See IO#gets for more information.

Reads the next line from this input method.
def gets
  fail NotImplementedError, "gets"
end

def initialize(file = STDIN_FILE_NAME)

Creates a new input method object
def initialize(file = STDIN_FILE_NAME)
  @file_name = file
end

def inspect

For debug message
def inspect
  'Abstract InputMethod'
end

def readable_after_eof?

See IO#eof for more information.

read.
Whether this input method is still readable when there is no more data to
def readable_after_eof?
  false
end

def support_history_saving?

def support_history_saving?
  false
end

def winsize

def winsize
  if instance_variable_defined?(:@stdout) && @stdout.tty?
    @stdout.winsize
  else
    [24, 80]
  end
end