instance method
download_chunk
Ruby on Rails 8.0.4
Since v7.0.10Signature
download_chunk(range)
Downloads a part of the file associated with this blob.
Parameters
-
rangereq
Source
# File activestorage/app/models/active_storage/blob.rb, line 271
def download_chunk(range)
service.download_chunk key, range
end
Defined in activestorage/app/models/active_storage/blob.rb line 271
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob