instance method
representable?
Ruby on Rails 7.2.3
Since v5.2.8.1Signature
representable?()
Returns true if the blob is variable or previewable.
Source
# File activestorage/app/models/active_storage/blob/representable.rb, line 163
def representable?
variable? || previewable?
end
Defined in activestorage/app/models/active_storage/blob/representable.rb line 163
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob::Representable