class File
Public Instance Methods
each_part(current_part=1,part_size=PART_SIZE) { |read(part_size) until eof?| ... }
click to toggle source
# File lib/flatiron-video-uploader/runner.rb, line 3 def each_part(current_part=1,part_size=PART_SIZE) (current_part-1).times do read(part_size) end yield read(part_size) until eof? end