Class: ForemanProbingCore::Probes::Abstract
- Inherits:
-
Object
- Object
- ForemanProbingCore::Probes::Abstract
- Defined in:
- lib/foreman_probing_core/probes/abstract.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
- #command ⇒ Object
-
#initialize(hosts, ports = [], options = {}) ⇒ Abstract
constructor
A new instance of Abstract.
- #parse_result(string) ⇒ Object
Constructor Details
#initialize(hosts, ports = [], options = {}) ⇒ Abstract
Returns a new instance of Abstract.
14 15 16 17 18 |
# File 'lib/foreman_probing_core/probes/abstract.rb', line 14 def initialize(hosts, ports = [], = {}) @hosts = Array(hosts) @ports = Array(ports) @options = end |
Class Method Details
.humanized_scan_type ⇒ Object
9 10 11 |
# File 'lib/foreman_probing_core/probes/abstract.rb', line 9 def humanized_scan_type raise NotImplementedError end |
.scan_type ⇒ Object
5 6 7 |
# File 'lib/foreman_probing_core/probes/abstract.rb', line 5 def scan_type raise NotImplementedError end |
Instance Method Details
#command ⇒ Object
20 21 22 |
# File 'lib/foreman_probing_core/probes/abstract.rb', line 20 def command raise NotImplementedError end |
#parse_result(string) ⇒ Object
24 25 26 |
# File 'lib/foreman_probing_core/probes/abstract.rb', line 24 def parse_result(string) raise NotImplementedError end |