class IRB::ReadlineInputMethod

def eof?

See IO#eof? for more information.

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