method

read_nonblock

v1_9_2_180 - 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.