instance method
download_blob_to_tempfile
Ruby on Rails 6.1.7.10
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 32
def download_blob_to_tempfile(&block) #:doc:
blob.open tmpdir: tmpdir, &block
end
Defined in activestorage/lib/active_storage/analyzer.rb line 32
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer