ios.readchar â string
Instance Public methods
Reads a one-character string from ios. Raises an
EOFError on end of file.
f = File.new("testfile")
f.readchar #=> "h"
f.readchar #=> "e"
Reads a one-character string from ios. Raises an
EOFError on end of file.
f = File.new("testfile")
f.readchar #=> "h"
f.readchar #=> "e"
Please login to continue.