method

open_image

rails latest stable - Class: ActiveStorage::Variant

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

open_image(&block)
private

No documentation available.

# File activestorage/app/models/active_storage/variant.rb, line 106
    def open_image(&block)
      image = download_image

      begin
        yield image
      ensure
        image.destroy!
      end
    end