Class: Mastercontrol::Server::ServerHostname
- Inherits:
-
Object
- Object
- Mastercontrol::Server::ServerHostname
- Defined in:
- lib/mastercontrol/server.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(res_hostname) ⇒ ServerHostname
constructor
A new instance of ServerHostname.
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
#name ⇒ Object
Returns the value of attribute name.
17 18 19 |
# File 'lib/mastercontrol/server.rb', line 17 def name @name end |