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