method

new

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Preview
new(blob, variation_or_variation_key) public

No documentation

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

Hide source
# File activestorage/app/models/active_storage/preview.rb, line 36
  def initialize(blob, variation_or_variation_key)
    @blob, @variation = blob, ActiveStorage::Variation.wrap(variation_or_variation_key)
  end
Register or log in to add new notes.