Parent

Methods

Nmap::Parser::Host::ExtraPorts

This holds the information about “extra ports”: groups of ports which have the same state.

Attributes

count[R]

Total number of ports in this state

state[R]

What state the ports are in

Public Instance Methods

<=>(extraports) click to toggle source

Compares the port counts

# File lib/nmap/parser.rb, line 1320
        def <=>(extraports)
                @count <=> extraports.count
        end
reasons() click to toggle source

Returns an array of arrays, each of which are in the form of:

[ port count, reason ]

for each set of reasons and yields them each to a block if one is given

# File lib/nmap/parser.rb, line 1314
        def reasons
                @reasons.each { |reason| yield reason } if block_given?
                @reasons
        end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.