Class: ActiveStorage::Analyzer::NullAnalyzer

Inherits:
ActiveStorage::Analyzer show all
Defined in:
activestorage/lib/active_storage/analyzer/null_analyzer.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from ActiveStorage::Analyzer

#blob

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ActiveStorage::Analyzer

#initialize

Constructor Details

This class inherits a constructor from ActiveStorage::Analyzer

Class Method Details

.accept?(blob) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'activestorage/lib/active_storage/analyzer/null_analyzer.rb', line 5

def self.accept?(blob)
  true
end

.analyze_later?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'activestorage/lib/active_storage/analyzer/null_analyzer.rb', line 9

def self.analyze_later?
  false
end

Instance Method Details

#metadataObject



13
14
15
# File 'activestorage/lib/active_storage/analyzer/null_analyzer.rb', line 13

def 
  {}
end