Exception: Ddr::Antivirus::ResultError
- Defined in:
- lib/ddr/antivirus/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ ResultError
constructor
A new instance of ResultError.
Constructor Details
#initialize(result) ⇒ ResultError
Returns a new instance of ResultError.
9 10 11 12 |
# File 'lib/ddr/antivirus/exceptions.rb', line 9 def initialize(result) super(result.to_s) @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
8 9 10 |
# File 'lib/ddr/antivirus/exceptions.rb', line 8 def result @result end |