Method: Mongo::Grid::FSBucket::Stream#get
- Defined in:
- lib/mongo/grid/stream.rb
#get(fs, mode, options = {}) ⇒ Stream::Read, Stream::Write
Get a stream for reading/writing files from/to the FSBucket.
61 62 63 |
# File 'lib/mongo/grid/stream.rb', line 61 def get(fs, mode, = {}) MODE_MAP[mode].new(fs, ) end |