Class: Mastercontrol::Server::ServerHostname

Inherits:
Object
  • Object
show all
Defined in:
lib/mastercontrol/server.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(res_hostname) ⇒ ServerHostname

Returns a new instance of ServerHostname.



18
19
20
# File 'lib/mastercontrol/server.rb', line 18

def initialize(res_hostname)
  @name = res_hostname
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



17
18
19
# File 'lib/mastercontrol/server.rb', line 17

def name
  @name
end