method

preprocessed?

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: NamedVariant
preprocessed?(record) 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/named_variant.rb, line 11
  def preprocessed?(record)
    case preprocessed
    when Symbol
      record.send(preprocessed)
    when Proc
      preprocessed.call(record)
    else
      preprocessed
    end
  end
Register or log in to add new notes.