Class: Ddr::Antivirus::NullScannerAdapter
- Inherits:
-
ScannerAdapter
- Object
- ScannerAdapter
- Ddr::Antivirus::NullScannerAdapter
- Defined in:
- lib/ddr/antivirus/adapters/null_scanner_adapter.rb
Overview
A no-op adapter, primarily for testing and development.
Instance Method Summary collapse
Methods inherited from ScannerAdapter
Instance Method Details
#scan(path) ⇒ Object
7 8 9 |
# 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 |