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.



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

def initialize out; @out = out end

Instance Method Details

#write(data) ⇒ Object



10
11
12
# File 'lib/vfs/drivers/local.rb', line 10

def write data
  @out.write data
end