class HTTP::Features::AutoDeflate::GzippedBody::BlockIO

Public Class Methods

new(block) click to toggle source
# File lib/http/features/auto_deflate.rb, line 100
def initialize(block)
  @block = block
end

Public Instance Methods

write(data) click to toggle source
# File lib/http/features/auto_deflate.rb, line 104
def write(data)
  @block.call(data)
end