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

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

Instance Method Summary (collapse)

Constructor Details

- (Writer) initialize(out)



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

def initialize out; @out = out end

Instance Method Details

- (Object) write(data)



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

def write data
  @out.write data
end