Flowdock
method

open_tempfile

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Previewer
open_tempfile() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/previewer.rb, line 57
      def open_tempfile
        tempfile = Tempfile.open("ActiveStorage-", tmpdir)

        begin
          yield tempfile
        ensure
          tempfile.close!
        end
      end
Register or log in to add new notes.