class PortsInfo
}]
protocol: ‘tcp6’
address: ‘::’
port: 22,
{
},
protocol: ‘tcp’
address: ‘0.0.0.0’
port: 22,
[{
each port
implements an info method and returns all ip adresses and protocols for
def initialize(inspec)
def initialize(inspec) @inspec = inspec end