Class: ScanDB::HostName

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

Instance Method Summary collapse

Methods included from Model

included

Instance Method Details

#inspectObject



35
36
37
# File 'lib/scandb/host_name.rb', line 35

def inspect
  name
end

#to_sObject

Returns the host name in String form.



42
43
44
# File 'lib/scandb/host_name.rb', line 42

def to_s
  name
end