[minimagick] Don't print old API deprecation warning twice for IO objects

This commit is contained in:
Janko Marohnić
2018-03-22 01:04:59 +01:00
parent e605bd3ded
commit f2458f6160
@@ -21,7 +21,7 @@ module ImageProcessing
instance_exec(file, *args, block, &body)
else
Utils.copy_to_tempfile(file) do |tempfile|
send(name, tempfile, *args, &block)
instance_exec(tempfile, *args, block, &body)
end
end
end