class Rack::Chunked::TrailerBody

Private Instance Methods

insert_trailers() { |"#{k}: #{v}\r\n"| ... } click to toggle source
# File lib/rack/chunked.rb, line 50
def insert_trailers(&block)
  @body.trailers.each_pair do |k, v|
    yield "#{k}: #{v}\r\n"
  end
end