Class: SSHScan::OS::Ubuntu::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/ssh_scan/os/ubuntu.rb

Instance Method Summary collapse

Constructor Details

#initialize(version_string) ⇒ Version

Returns a new instance of Version.



7
8
9
# File 'lib/ssh_scan/os/ubuntu.rb', line 7

def initialize(version_string)
  @version_string = version_string
end

Instance Method Details

#to_sObject



11
12
13
# File 'lib/ssh_scan/os/ubuntu.rb', line 11

def to_s
  @version_string
end