Support for the Ruby 2.4 series has ended. See here for reference.
Object
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 irb/input-method.rb, line 20 def initialize(file = STDIN_FILE_NAME) @file_name = file end
Reads the next line from this input method.
See IO#gets for more information.
# File irb/input-method.rb, line 32 def gets IRB.fail NotImplementedError, "gets" end
Whether this input method is still readable when there is no more data to read.
See IO#eof for more information.
# File irb/input-method.rb, line 41 def readable_after_eof? false end
This page was generated for Ruby 2.4.9
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.