Class: Arrow::MemoryMappedFile

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow/compatibility.rb

Class Method Summary collapse

Class Method Details

.open(path, mode, &block) ⇒ Object



19
20
21
22
23
24
# File 'lib/arrow/compatibility.rb', line 19

def open(path, mode, &block)
  warn("#{self}.#{__method__}(path, mode, &block): " +
       "use #{MemoryMappedInputStream}.open(path, &block) instead: " +
       caller(1, 1)[0])
  MemoryMappedInputStream.open(path, &block)
end