Class: Ronin::Exploits::TestResult
- Inherits:
-
Object
- Object
- Ronin::Exploits::TestResult
- Defined in:
- lib/ronin/exploits/test_result.rb
Overview
Base class for all test results.
Direct Known Subclasses
Defined Under Namespace
Classes: NotVulnerable, Unknown, Vulnerable
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
The descriptive message of the test result.
Instance Method Summary collapse
-
#initialize(message) ⇒ TestResult
constructor
Initializes the test result.
-
#to_s ⇒ String
Converts the test result to a String.
Constructor Details
#initialize(message) ⇒ TestResult
Initializes the test result.
46 47 48 |
# File 'lib/ronin/exploits/test_result.rb', line 46 def initialize() @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
The descriptive message of the test result.
36 37 38 |
# File 'lib/ronin/exploits/test_result.rb', line 36 def @message end |
Instance Method Details
#to_s ⇒ String
Converts the test result to a String.
58 59 60 |
# File 'lib/ronin/exploits/test_result.rb', line 58 def to_s @message end |