Class: IO
- Inherits:
-
Object
- Object
- IO
- Defined in:
- lib/ole/io_helpers.rb
Overview
move to support?
Class Method Summary collapse
-
.copy(src, dst) ⇒ Object
:nodoc:.
Class Method Details
.copy(src, dst) ⇒ Object
:nodoc:
4 5 6 7 8 9 |
# File 'lib/ole/io_helpers.rb', line 4 def self.copy src, dst until src.eof? buf = src.read(4096) dst.write buf end end |