Class: Vfs::Drivers::Local::Writer

Inherits:
Object
  • Object
show all
Defined in:
lib/vfs/drivers/local.rb

Instance Method Summary collapse

Constructor Details

#initialize(out) ⇒ Writer

Returns a new instance of Writer.



7
# File 'lib/vfs/drivers/local.rb', line 7

def initialize out; @out = out end

Instance Method Details

#write(data) ⇒ Object



9
# File 'lib/vfs/drivers/local.rb', line 9

def write data; @out.write data end