Class: ScanDB::Port

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

Instance Method Summary collapse

Methods included from Model

included

Instance Method Details

#to_sObject

Returns the String form of the port.



48
49
50
# File 'lib/scandb/port.rb', line 48

def to_s
  "#{number}/#{protocol}"
end