class HTTP::Features::AutoDeflate::GzippedBody::BlockIO
Public Class Methods
Source
# File lib/http/features/auto_deflate.rb, line 100 def initialize(block) @block = block end
Public Instance Methods
Source
# File lib/http/features/auto_deflate.rb, line 104 def write(data) @block.call(data) end