class method
self.accept?
Ruby on Rails 7.2.3
Since v5.2.8.1Signature
self.accept?(blob)
Implement this method in a concrete subclass. Have it return true when given a blob from which the analyzer can extract metadata.
Parameters
-
blobreq
Source
# File activestorage/lib/active_storage/analyzer.rb, line 13
def self.accept?(blob)
false
end
Defined in activestorage/lib/active_storage/analyzer.rb line 13
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer