Class: Bulldog::Tempfile

Inherits:
Tempfile
  • Object
show all
Defined in:
lib/bulldog/tempfile.rb

Overview

Backport Ruby 1.8.7’s Tempfile feature which allows specifying the extension by passing in the path as a 2-element array. Useful for things like ImageMagick, which often rely on the file extension.