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.
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 |