Sha256: da527fdf52394a1e5ecf25f7901de916bdd2692ffac2e015bfc2ffec5dcaade4
Contents?: true
Size: 624 Bytes
Versions: 3
Compression:
Stored size: 624 Bytes
Contents
module Ddr module Antivirus module Adapters # # @abstract Subclass and override {#scan} to implement a scanner adapter. # class ScannerAdapter # Scan a file path for viruses. # # @param path [String] file path to scan. # @return [Ddr::Antivirus::Adapters::ScanResult] the result of the scan. def scan(path) raise NotImplementedError, "Adapters must implement the `scan' method." end # Return the adapter configuration options def config Ddr::Antivirus.adapter_config end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems