Class: ScanDB::ScannedPort

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/scandb/scanned_port.rb

Constant Summary

Constants included from Model

Model::REPOSITORY_NAME

Instance Method Summary collapse

Methods included from Model

included

Instance Method Details

#to_sObject

Returns the String form of the scanned port.



53
54
55
# File 'lib/scandb/scanned_port.rb', line 53

def to_s
  sprintf("%9s%9s\t%s",port,status,service)
end