class Gluey::RackMountable::FileBody
Public Instance Methods
each() { |chunk| ... }
click to toggle source
# File lib/gluey/base/rack_mountable.rb, line 77 def each File.open(file_path, 'rb') do |file| while chunk = file.read(16384) yield chunk end end end