Class: Vos::Drivers::SshVfsStorage::Writer

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

Instance Method Summary collapse

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