Parent

Methods

Nmap::Parser::Host::OS::OSMatch

Holds information for an individual OS match record

Attributes

accuracy[R]

Accuracy of this match

name[R]

Operating System name

Public Class Methods

new(os) click to toggle source
# File lib/nmap/parser.rb, line 1467
def initialize(os)
        parse(os)
end

Public Instance Methods

<=>(osmatch) click to toggle source

Compares accuracy

# File lib/nmap/parser.rb, line 1461
def <=>(osmatch)
        @accuracy <=> osmatch.accuracy
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.