Reads the next line from this input method.
See IO#gets for more information.
# File ruby-3.1.2/lib/irb/input-method.rb, line 36
def gets
fail NotImplementedError, "gets"
end
For debug message
# File ruby-3.1.2/lib/irb/input-method.rb, line 58
def inspect
'Abstract InputMethod'
end
Whether this input method is still readable when there is no more data to read.
See IO#eof for more information.
# File ruby-3.1.2/lib/irb/input-method.rb, line 53
def readable_after_eof?
false
end