Class: ScanDB::Host
Instance Method Summary collapse
-
#host_name ⇒ Object
Returns the primary host name.
- #to_s ⇒ Object
Methods included from Model
Instance Method Details
#host_name ⇒ Object
Returns the primary host name.
45 46 47 |
# File 'lib/scandb/host.rb', line 45 def host_name names.first end |
#to_s ⇒ Object
49 50 51 |
# File 'lib/scandb/host.rb', line 49 def to_s ip end |