Class: SSHScan::SSHLib::NosSSH::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/ssh_scan/ssh_lib/nosssh.rb

Instance Method Summary collapse

Constructor Details

#initialize(version_string) ⇒ Version

Returns a new instance of Version.



5
6
7
# File 'lib/ssh_scan/ssh_lib/nosssh.rb', line 5

def initialize(version_string)
  @version_string = version_string
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/ssh_scan/ssh_lib/nosssh.rb', line 9

def to_s
  @version_string
end