Class: ActiveStorageDashboard::Analyzer
- Inherits:
-
Object
- Object
- ActiveStorageDashboard::Analyzer
- Defined in:
- lib/active_storage_dashboard/analyzer.rb
Class Method Summary collapse
Class Method Details
.call ⇒ Object
3 4 5 6 7 |
# File 'lib/active_storage_dashboard/analyzer.rb', line 3 def self.call ActiveStorage::Blob.find_each do |blob| blob.analyze unless blob.analyzed? end end |