跳至内容 跳至搜索
方法
P

实例公有方法

perform(blob, variations)

# File activestorage/app/jobs/active_storage/preview_image_job.rb, line 9
def perform(blob, variations)
  blob.preview({}).processed

  variations.each do |transformations|
    blob.preprocessed(transformations)
  end
end