ios.getc â string or nil
Instance Public methods
Reads a one-character string from ios. Returns nil
if
called at end of file.
1 2 3 | 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.
1 2 3 | f = File . new ( "testfile" ) f.getc #=> "h" f.getc #=> "e" |
Designed by : w10schools
service@w10schools.com
Please login to continue.