Class: ScanDB::Port
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.
48 49 50 |
# File 'lib/scandb/port.rb', line 48 def to_s "#{number}/#{protocol}" end |