Skip to content

Commit 83b7cb3

Browse files
committed
Fix "warning: `*' interpreted as argument prefix"
1 parent 4065323 commit 83b7cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activestorage/lib/active_storage/previewer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def download_blob_to(file)
5555
# end
5656
def draw(*argv) # :doc:
5757
Tempfile.open("output") do |file|
58-
capture *argv, to: file
58+
capture(*argv, to: file)
5959
yield file
6060
end
6161
end

0 commit comments

Comments
 (0)