method

read_nonblock

v1_9_3_125 - Show latest stable - Class: StringIO
read_nonblock(*args)
public

Similar to #read, but raises EOFError at end of string instead of returning nil, as well as IO#sysread does.