aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage/analyzer/null_analyzer.rb
blob: 8ff7ce48e5528cbd49418fc8a8dd27f4c64a8423 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module ActiveStorage
  class Analyzer::NullAnalyzer < Analyzer # :nodoc:
    def self.accept?(blob)
      true
    end

    def metadata
      {}
    end
  end
end