instance method download_image

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1 Private

Signature

download_image()

No documentation comment.

Source
# File activestorage/app/models/active_storage/variant.rb, line 116
    def download_image
      require "mini_magick"
      MiniMagick::Image.create(blob.filename.extension_with_delimiter) { |file| download_blob_to(file) }
    end

Defined in activestorage/app/models/active_storage/variant.rb line 116 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveStorage::Variant

Type at least 2 characters to search.

↑↓ navigate · open · esc close