Class: Vos::Drivers::SshVfsStorage::Writer
- Inherits:
-
Object
- Object
- Vos::Drivers::SshVfsStorage::Writer
- Defined in:
- lib/vos/drivers/ssh_vfs_storage.rb
Instance Method Summary collapse
-
#initialize(out) ⇒ Writer
constructor
A new instance of Writer.
- #write(data) ⇒ Object
Constructor Details
#initialize(out) ⇒ Writer
Returns a new instance of Writer.
5 6 7 |
# File 'lib/vos/drivers/ssh_vfs_storage.rb', line 5 def initialize out @out = out end |
Instance Method Details
#write(data) ⇒ Object
9 10 11 |
# File 'lib/vos/drivers/ssh_vfs_storage.rb', line 9 def write data @out.write data end |