Class: ClamAV::Response
- Inherits:
-
Object
- Object
- ClamAV::Response
- Defined in:
- lib/clamav/responses.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_str ⇒ Object
readonly
Returns the value of attribute error_str.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#virus_name ⇒ Object
readonly
Returns the value of attribute virus_name.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Not sure if this is still required?.
Instance Attribute Details
#error_str ⇒ Object (readonly)
Returns the value of attribute error_str.
20 21 22 |
# File 'lib/clamav/responses.rb', line 20 def error_str @error_str end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
20 21 22 |
# File 'lib/clamav/responses.rb', line 20 def file @file end |
#virus_name ⇒ Object (readonly)
Returns the value of attribute virus_name.
20 21 22 |
# File 'lib/clamav/responses.rb', line 20 def virus_name @virus_name end |
Instance Method Details
#==(other) ⇒ Object
Not sure if this is still required?
23 24 25 |
# File 'lib/clamav/responses.rb', line 23 def ==(other) @file == other.file && self.class == other.class end |