instance method
download_blob_to_tempfile
Ruby on Rails 8.1.2
Since v6.0.6 PrivateSignature
download_blob_to_tempfile(&block)
Downloads the blob to a tempfile on disk. Yields the tempfile.
Parameters
-
blockblock
Source
# File activestorage/lib/active_storage/analyzer.rb, line 34
def download_blob_to_tempfile(&block) # :doc:
blob.open tmpdir: tmpdir, &block
end
Defined in activestorage/lib/active_storage/analyzer.rb line 34
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer