Class: ScanDB::ScannedPort
- Inherits:
-
Object
- Object
- ScanDB::ScannedPort
- Includes:
- Model
- Defined in:
- lib/scandb/scanned_port.rb
Constant Summary
Constants included from Model
Instance Method Summary collapse
-
#to_s ⇒ Object
Returns the String form of the scanned port.
Methods included from Model
Instance Method Details
#to_s ⇒ Object
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 |