Class: SSHScan::SSHLib::Dropbear::Version
- Inherits:
-
Object
- Object
- SSHScan::SSHLib::Dropbear::Version
- Defined in:
- lib/ssh_scan/ssh_lib/dropbear.rb
Instance Method Summary collapse
-
#initialize(version_string) ⇒ Version
constructor
A new instance of Version.
- #to_s ⇒ Object
Constructor Details
#initialize(version_string) ⇒ Version
Returns a new instance of Version.
7 8 9 10 11 12 13 |
# File 'lib/ssh_scan/ssh_lib/dropbear.rb', line 7 def initialize(version_string) if version_string == nil @version_string = "unknown" else @version_string = version_string end end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/ssh_scan/ssh_lib/dropbear.rb', line 14 def to_s @version_string end |