Class: Arrow::FileSystem
- Inherits:
-
Object
- Object
- Arrow::FileSystem
- Defined in:
- lib/arrow/file-system.rb
Instance Method Summary collapse
Instance Method Details
#open_output_stream(path) ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/arrow/file-system.rb', line 21 def open_output_stream(path) stream = open_output_stream_raw(path) if block_given? begin yield(stream) ensure stream.close end else stream end end |
#open_output_stream_raw ⇒ Object
20 |
# File 'lib/arrow/file-system.rb', line 20 alias_method :open_output_stream_raw, :open_output_stream |