line(line_no) Instance Public methods Returns the current line number for io. line counts the number of times gets is called. See IO#lineno for more information.
readable_after_eof?() Instance Public methods Whether this input method is still readable when there is no more data to read. See IO#eof for more information.
new() Class Public methods Creates a new input method object
encoding() Instance Public methods The external encoding for standard input.
eof?() Instance Public methods Whether the end of this input method has been reached, returns true if there is no more data to read. See IO#eof? for more information.
gets() Instance Public methods Reads the next line from this input method. See IO#gets for more information.
print(*opts) Instance Public methods Prints the given opts to standard output, see IO#print for more information.
new(*main) Class Public methods Creates a new workspace. set self to main if specified, otherwise inherit main from TOPLEVEL_BINDING.
Page 445 of 11844