Sha256: 1cb1381e680e492e56187a3c36123b39060e6a2ce7789d518754011f2e10c5bd
Contents?: true
Size: 291 Bytes
Versions: 2
Compression:
Stored size: 291 Bytes
Contents
module ClamChowder class Response attr_reader :virus_name, :file_path def initialize(status, file_path, virus_name = nil) @status = status @file_path = file_path @virus_name = virus_name end def infected? @status == 'FOUND' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clam_chowder-0.0.2 | lib/clam_chowder/response.rb |
clam_chowder-0.0.1 | lib/clam_chowder/response.rb |