Class: ScanDB::Port

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/scandb/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 port.



52
53
54
# File 'lib/scandb/port.rb', line 52

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