diff options
Diffstat (limited to 'activestorage/lib/active_storage')
-rw-r--r-- | activestorage/lib/active_storage/analyzer.rb | 2 | ||||
-rw-r--r-- | activestorage/lib/active_storage/previewer.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activestorage/lib/active_storage/analyzer.rb b/activestorage/lib/active_storage/analyzer.rb index 87e9e42aa2..8dcfb9d7bd 100644 --- a/activestorage/lib/active_storage/analyzer.rb +++ b/activestorage/lib/active_storage/analyzer.rb @@ -23,7 +23,7 @@ module ActiveStorage private # Downloads the blob to a tempfile on disk. Yields the tempfile. - def download_blob_to_tempfile #:doc: + def download_blob_to_tempfile(&block) #:doc: blob.open(&block) end diff --git a/activestorage/lib/active_storage/previewer.rb b/activestorage/lib/active_storage/previewer.rb index 2053ed4511..30d90493dc 100644 --- a/activestorage/lib/active_storage/previewer.rb +++ b/activestorage/lib/active_storage/previewer.rb @@ -27,7 +27,7 @@ module ActiveStorage private # Downloads the blob to a tempfile on disk. Yields the tempfile. - def download_blob_to_tempfile #:doc: + def download_blob_to_tempfile(&block) #:doc: blob.open(&block) end |