lib/roda/plugins/streaming.rb
# Add output to the streaming response body. Returns number of bytes written.
Add output to the streaming response body. Returns number of bytes written.
Add output to the streaming response body . Returns number of bytes written .
def write(data)
          data = data.to_s
          @out.call(data)
          data.bytesize
        end
def write ( data ) data = data . to_s @out . call ( data ) data . bytesize end
Add output to the streaming response body.
Add output to the streaming response body .
data