aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage/analyzer.rb
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-05-16 22:50:08 -0400
committerGeorge Claghorn <george@basecamp.com>2018-05-16 22:50:24 -0400
commitff3210556b89fdb3fe289117fa72ba3155231442 (patch)
tree8c6554764c1a311cc1fa8a34d8355619ef2026f3 /activestorage/lib/active_storage/analyzer.rb
parent373720bf232df9e5ee17d2c0338462bedcd25339 (diff)
downloadrails-ff3210556b89fdb3fe289117fa72ba3155231442.tar.gz
rails-ff3210556b89fdb3fe289117fa72ba3155231442.tar.bz2
rails-ff3210556b89fdb3fe289117fa72ba3155231442.zip
Add missing block parameters
Diffstat (limited to 'activestorage/lib/active_storage/analyzer.rb')
-rw-r--r--activestorage/lib/active_storage/analyzer.rb2
1 files changed, 1 insertions, 1 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