Class: Arrow::FileOutputStream
- Inherits:
-
Object
- Object
- Arrow::FileOutputStream
- Defined in:
- lib/arrow/file-output-stream.rb
Instance Method Summary collapse
-
#initialize(path, options = {}) ⇒ FileOutputStream
constructor
A new instance of FileOutputStream.
Constructor Details
#initialize(path, options = {}) ⇒ FileOutputStream
Returns a new instance of FileOutputStream.
22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/arrow/file-output-stream.rb', line 22 def initialize(path, ={}) append = nil case when true, false append = when Hash append = [:append] end append = false if append.nil? initialize_raw(path, append) end |