Parent

Methods

Faraday::CompositeReadIO

Attributes

length[R]

Public Class Methods

new(parts) click to toggle source
# File lib/faraday/upload_io.rb, line 14
def initialize(parts)
  @length = parts.inject(0) { |sum, part| sum + part.length }
  ios = parts.map{ |part| part.to_io }
  super(*ios)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.