Class: Nmap::XML::Scanner
- Inherits:
-
Struct
- Object
- Struct
- Nmap::XML::Scanner
- Defined in:
- lib/nmap/xml/scanner.rb
Overview
Describes the nmap
command.
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#name ⇒ Object
Returns the value of attribute name.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#to_s ⇒ String
Converts the scanner to a String.
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments
10 11 12 |
# File 'lib/nmap/xml/scanner.rb', line 10 def arguments @arguments end |
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/nmap/xml/scanner.rb', line 10 def name @name end |
#start_time ⇒ Object
Returns the value of attribute start_time
10 11 12 |
# File 'lib/nmap/xml/scanner.rb', line 10 def start_time @start_time end |
#version ⇒ Object
Returns the value of attribute version
10 11 12 |
# File 'lib/nmap/xml/scanner.rb', line 10 def version @version end |
Instance Method Details
#to_s ⇒ String
Converts the scanner to a String.
18 19 20 |
# File 'lib/nmap/xml/scanner.rb', line 18 def to_s "#{self.name} #{self.arguments}" end |