class HTTP::Features::AutoDeflate::CompressedBody::GzippedBody::BlockIO
Public Class Methods
new(block)
click to toggle source
# File lib/http/features/auto_deflate.rb, line 78 def initialize(block) @block = block end
Public Instance Methods
write(data)
click to toggle source
# File lib/http/features/auto_deflate.rb, line 82 def write(data) @block.call(data) end