class Ddr::Antivirus::NullScannerAdapter

A no-op adapter, primarily for testing and development.

Public Instance Methods

scan(path) click to toggle source
# File lib/ddr/antivirus/adapters/null_scanner_adapter.rb, line 7
def scan(path)
  ScanResult.new(path, "#{path}: NOT SCANNED - using :null scanner adapter.")
end