class Faraday::CompositeReadIO
def length
-
(Integer)
- sum of the lengths of all the parts
def length @parts.inject(0) { |sum, part| sum + part.length } end
(Integer)
- sum of the lengths of all the parts
def length @parts.inject(0) { |sum, part| sum + part.length } end