Exception: AntiVirusScanner::VirusDetected

Inherits:
RuntimeError
  • Object
show all
Defined in:
app/services/anti_virus_scanner.rb

Instance Method Summary collapse

Constructor Details

#initialize(pid, file_path) ⇒ VirusDetected

Returns a new instance of VirusDetected.



9
10
11
# File 'app/services/anti_virus_scanner.rb', line 9

def initialize(pid, file_path)
  super("A virus was found for PID=#{pid.inspect} (#{file_path.inspect})")
end