# File lib/mongo/gridfs/grid_io.rb, line 239 def each return read_all unless block_given? while chunk = read(chunk_size) yield chunk break if chunk.empty? end self end