Class: Cellect::Client::NodeSet
- Defined in:
- lib/cellect/client/node_set.rb
Constant Summary
Constants inherited from NodeSet
Instance Attribute Summary collapse
-
#nodes ⇒ Object
Returns the value of attribute nodes.
Attributes inherited from NodeSet
Instance Method Summary collapse
-
#initialize(zk_url = nil) ⇒ NodeSet
constructor
Sets up an empty node set.
Methods inherited from NodeSet
Constructor Details
#initialize(zk_url = nil) ⇒ NodeSet
Sets up an empty node set
9 10 11 12 |
# File 'lib/cellect/client/node_set.rb', line 9 def initialize(zk_url = nil) self.nodes = { } super end |
Instance Attribute Details
#nodes ⇒ Object
Returns the value of attribute nodes.
6 7 8 |
# File 'lib/cellect/client/node_set.rb', line 6 def nodes @nodes end |