Class: Vfs::Drivers::Local::Writer
- Inherits:
-
Object
- Object
- Vfs::Drivers::Local::Writer
- Defined in:
- lib/vfs/drivers/local.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.
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 |