This method is deprecated or moved on the latest stable version.
The last existing version (v1_8_7_330) is shown here.
read(size)
protected
protected method ‘read’ must be defined in derived classes. CAUTION:
Returning a string which size is not equal to ‘size’ means EnfOfStream.
When it is not at EOS, you must block the callee, try to read and return the sized string.
# File lib/csv.rb, line 907
def read(size) # raise EOFError
raise NotImplementedError.new('Method read must be defined in a derived class.')
end