ios.getc â string or nil
Instance Public methods
Reads a one-character string from ios. Returns nil if
called at end of file.
f = File.new("testfile")
f.getc #=> "h"
f.getc #=> "e"
Reads a one-character string from ios. Returns nil if
called at end of file.
f = File.new("testfile")
f.getc #=> "h"
f.getc #=> "e"
Please login to continue.