instance method
default_variant_format
Ruby on Rails 8.1.2
Since v6.1.7.10 PrivateSignature
default_variant_format()
No documentation comment.
Source
# File activestorage/app/models/active_storage/blob/representable.rb, line 184
def default_variant_format
if web_image?
format || :png
else
:png
end
end
Defined in activestorage/app/models/active_storage/blob/representable.rb line 184
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob::Representable