Method: Hyrax::VirusScanner.infected?

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

.infected?(file) ⇒ Boolean

Parameters:

  • file (String)

Returns:

  • (Boolean)


28
29
30
# File 'app/models/hyrax/virus_scanner.rb', line 28

def self.infected?(file)
  new(file).infected?
end