Class: ProcessWanker::ConfigClientCluster
- Inherits:
-
ConfigNode
- Object
- ConfigNode
- ProcessWanker::ConfigClientCluster
- Defined in:
- lib/config/config_client_cluster.rb
Instance Attribute Summary collapse
-
#auth ⇒ Object
Returns the value of attribute auth.
-
#hosts ⇒ Object
Returns the value of attribute hosts.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from ConfigNode
Instance Method Summary collapse
-
#initialize(name) ⇒ ConfigClientCluster
constructor
A new instance of ConfigClientCluster.
Methods inherited from ConfigNode
Constructor Details
#initialize(name) ⇒ ConfigClientCluster
Returns a new instance of ConfigClientCluster.
34 35 36 37 |
# File 'lib/config/config_client_cluster.rb', line 34 def initialize(name) @name=name @hosts={} end |
Instance Attribute Details
#auth ⇒ Object
Returns the value of attribute auth.
31 32 33 |
# File 'lib/config/config_client_cluster.rb', line 31 def auth @auth end |
#hosts ⇒ Object
Returns the value of attribute hosts.
32 33 34 |
# File 'lib/config/config_client_cluster.rb', line 32 def hosts @hosts end |
#name ⇒ Object
Returns the value of attribute name.
30 31 32 |
# File 'lib/config/config_client_cluster.rb', line 30 def name @name end |