class Nmap::XML::OSMatch

Represents a match for a specific {OS}.

@since 1.0.0

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/xml/os_match.rb, line 16
def to_s
  "#{self.name} (#{self.accuracy}%)"
end