diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-30 05:39:27 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-30 05:40:55 +0900 |
commit | 83b7cb3a4711794ca1716d1b593643d2309f0019 (patch) | |
tree | 7ea3c1f9684962b8e3c1b0e09ce484063f9055f6 /activestorage/lib/active_storage | |
parent | 4065323869555c8af13143cc1731fd99c74bfbfc (diff) | |
download | rails-83b7cb3a4711794ca1716d1b593643d2309f0019.tar.gz rails-83b7cb3a4711794ca1716d1b593643d2309f0019.tar.bz2 rails-83b7cb3a4711794ca1716d1b593643d2309f0019.zip |
Fix "warning: `*' interpreted as argument prefix"
Diffstat (limited to 'activestorage/lib/active_storage')
-rw-r--r-- | activestorage/lib/active_storage/previewer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/previewer.rb b/activestorage/lib/active_storage/previewer.rb index c91f64ac65..930b376067 100644 --- a/activestorage/lib/active_storage/previewer.rb +++ b/activestorage/lib/active_storage/previewer.rb @@ -55,7 +55,7 @@ module ActiveStorage # end def draw(*argv) # :doc: Tempfile.open("output") do |file| - capture *argv, to: file + capture(*argv, to: file) yield file end end |