Class: ClamAV::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/clamav/responses.rb

Direct Known Subclasses

ErrorResponse, SuccessResponse, VirusResponse

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ Response

Returns a new instance of Response.



19
20
21
# File 'lib/clamav/responses.rb', line 19

def initialize(file)
  @file = file
end

Instance Method Details

#==(other) ⇒ Object



23
24
25
# File 'lib/clamav/responses.rb', line 23

def ==(other)
  @file == other.file
end