The file name of this input method, usually given during initialization.
The irb prompt associated with this input method
Creates a new input method object
# File lib/irb/input-method.rb, line 22 def initialize(file = STDIN_FILE_NAME) @file_name = file end
Reads the next line from this input method.
IO#gets for more information.
# File lib/irb/input-method.rb, line 34 def gets IRB.fail NotImplementedError, "gets" end
Whether this input method is still readable when there is no more data to read.
IO#eof for more information.
# File lib/irb/input-method.rb, line 43 def readable_after_eof? false end