class Repobrowse::Static::F

Rack response body

Public Instance Methods

each() { |buf| ... } click to toggle source
# File lib/repobrowse/static.rb, line 10
def each
  while buf = read(8192, buf)
    yield buf
  end
ensure
  buf&.clear
end