Class: ScanDB::HostName

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

Constant Summary

Constants included from Model

Model::REPOSITORY_NAME

Instance Method Summary collapse

Methods included from Model

included

Instance Method Details

#inspectObject



39
40
41
# File 'lib/scandb/host_name.rb', line 39

def inspect
  name
end

#to_sObject

Returns the host name in String form.



46
47
48
# File 'lib/scandb/host_name.rb', line 46

def to_s
  name
end