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

Instance Method Details

#metadataObject



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

def 
  {}
end