Class: ScanDB::Port
Constant Summary
Constants included from Model
Instance Method Summary collapse
-
#to_s ⇒ Object
Returns the String form of the port.
Methods included from Model
Instance Method Details
#to_s ⇒ Object
Returns the String form of the port.
52 53 54 |
# File 'lib/scandb/port.rb', line 52 def to_s "#{number}/#{protocol}" end |