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.
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.
gets() Instance Public methods Reads the next line from this input method. See IO#gets for more information.
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.
encoding() Instance Public methods The external encoding for standard input.
new() Class Public methods Creates a new input method object using Readline
puts(*objs) Instance Public methods Calls print on each element in the given objs, followed by a newline character.
printn(*opts) Instance Public methods Prints the given opts, with a newline delimiter.
printf(format, *opts) Instance Public methods Extends IO#printf to format the given opts for Kernel#sprintf using parse_printf_format
print(*opts) Instance Public methods Open this method to implement your own output method, raises a NotImplementedError if you don't define print in your own class.
Page 1888 of 2275