Class: S3Deployer::Stream

Inherits:
StringIO
  • Object
show all
Defined in:
lib/s3_deployer.rb

Instance Method Summary collapse

Constructor Details

#initializeStream

Returns a new instance of Stream.


270
271
272
273
# File 'lib/s3_deployer.rb', line 270

def initialize(*)
  super
  set_encoding "BINARY"
end

Instance Method Details

#closeObject


275
276
277
# File 'lib/s3_deployer.rb', line 275

def close
  rewind
end