Class: File

Inherits:
Object
  • Object
show all
Defined in:
lib/azure-contrib/blob_service.rb

Instance Method Summary collapse

Instance Method Details

#each_chunk(chunk_size = 2**20) ⇒ Object


9
10
11
# File 'lib/azure-contrib/blob_service.rb', line 9

def each_chunk(chunk_size=2**20)
  yield read(chunk_size) until eof?
end