class Nmap::OSMatch

Represents a match for a specific {OS}.

Public Instance Methods

to_s() click to toggle source

Converts the OS match to a String.

@return [String]

The String form of the OS match.
# File lib/nmap/os_match.rb, line 13
def to_s
  "#{self.name} (#{self.accuracy}%)"
end