method
variant
v7.1.3.4 -
Show 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