method

variant

rails latest stable - Class: ActiveStorage::Reflection::HasAttachedReflection
variant(name, transformations)
public

No documentation available.

# File activestorage/lib/active_storage/reflection.rb, line 6
      def variant(name, transformations)
        named_variants[name] = NamedVariant.new(transformations)
      end