Class: ZkStat
- Inherits:
-
Object
- Object
- ZkStat
- Defined in:
- lib/zookeeper.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(ary) ⇒ ZkStat
constructor
A new instance of ZkStat.
Constructor Details
#initialize(ary) ⇒ ZkStat
Returns a new instance of ZkStat.
8 9 10 |
# File 'lib/zookeeper.rb', line 8 def initialize(ary) @czxid, @mzxid, @ctime, @mtime, @version, @cversion, @aversion, @ephemeralOwner = ary end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
7 8 9 |
# File 'lib/zookeeper.rb', line 7 def version @version end |