Object
# File lib/rack/deflater.rb, line 83 83: def initialize(body) 84: @body = body 85: end
# File lib/rack/deflater.rb, line 87 87: def each 88: deflater = ::Zlib::Deflate.new(*DEFLATE_ARGS) 89: @body.each { |part| yield deflater.deflate(part) } 90: @body.close if @body.respond_to?(:close) 91: yield deflater.finish 92: nil 93: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.