1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/lib/active_storage/analyzer/null_analyzer.rb
2020-01-16 14:14:28 -05:00

17 lines
244 B
Ruby

# frozen_string_literal: true
module ActiveStorage
class Analyzer::NullAnalyzer < Analyzer # :nodoc:
def self.accept?(blob)
true
end
def self.analyze_later?
false
end
def metadata
{}
end
end
end