# File lib/mini_magick/utilities.rb, line 26 def tempfile(extension) Tempfile.new(["mini_magick", extension]).tap do |tempfile| tempfile.binmode yield tempfile if block_given? tempfile.close end end