Class: Pageflow::Panorama::S3Bucket::StreamWithSize

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/pageflow/panorama/s3_bucket.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stream, size) ⇒ StreamWithSize

Returns a new instance of StreamWithSize.



22
23
24
25
# File 'lib/pageflow/panorama/s3_bucket.rb', line 22

def initialize(stream, size)
  super(stream)
  @size = size
end

Instance Attribute Details

#sizeObject (readonly)

Returns the value of attribute size.



20
21
22
# File 'lib/pageflow/panorama/s3_bucket.rb', line 20

def size
  @size
end