Method: Hyrax::VirusScanner#infected?

Defined in:
app/models/hyrax/virus_scanner.rb

#infected?Boolean

Note:

Override this method to use your own virus checking software

Returns:

  • (Boolean)


40
41
42
# File 'app/models/hyrax/virus_scanner.rb', line 40

def infected?
  defined?(ClamAV) ? clam_av_scanner : null_scanner
end