Class: FakeS3::Object::FakeObjectOutput
- Inherits:
-
Object
- Object
- FakeS3::Object::FakeObjectOutput
- Defined in:
- lib/fake_s3/object.rb
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(body) ⇒ FakeObjectOutput
constructor
A new instance of FakeObjectOutput.
Constructor Details
#initialize(body) ⇒ FakeObjectOutput
Returns a new instance of FakeObjectOutput.
51 52 53 |
# File 'lib/fake_s3/object.rb', line 51 def initialize(body) @body = body end |
Instance Method Details
#body ⇒ Object
55 56 57 |
# File 'lib/fake_s3/object.rb', line 55 def body StringIO.new(@body) end |