Class: Vos::Drivers::S3VfsStorage::Writer

Inherits:
Object
  • Object
show all
Defined in:
lib/vos/drivers/s3_vfs_storage.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWriter

Returns a new instance of Writer.



9
10
11
# File 'lib/vos/drivers/s3_vfs_storage.rb', line 9

def initialize
  @data = ""
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



8
9
10
# File 'lib/vos/drivers/s3_vfs_storage.rb', line 8

def data
  @data
end

Instance Method Details

#write(data) ⇒ Object



13
14
15
# File 'lib/vos/drivers/s3_vfs_storage.rb', line 13

def write data
  @data << data
end