class Protocol::HTTP::Body::ZStream
def ratio
The compression ratio, according to the input and output lengths.
def ratio if @input_length != 0 @output_length.to_f / @input_length.to_f else 1.0 end end
def ratio if @input_length != 0 @output_length.to_f / @input_length.to_f else 1.0 end end