Class: Pageflow::Panorama::S3Bucket::StreamWithSize
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Pageflow::Panorama::S3Bucket::StreamWithSize
- Defined in:
- lib/pageflow/panorama/s3_bucket.rb
Instance Attribute Summary collapse
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize(stream, size) ⇒ StreamWithSize
constructor
A new instance of StreamWithSize.
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
#size ⇒ Object (readonly)
Returns the value of attribute size.
20 21 22 |
# File 'lib/pageflow/panorama/s3_bucket.rb', line 20 def size @size end |