Class: ZooKeeper::WatchEvent
- Inherits:
-
Object
- Object
- ZooKeeper::WatchEvent
- Includes:
- Enumeration
- Defined in:
- lib/zkruby/client.rb
Instance Attribute Summary collapse
-
#watch_types ⇒ Object
readonly
Returns the value of attribute watch_types.
Instance Method Summary collapse
-
#initialize(watch_types) ⇒ WatchEvent
constructor
A new instance of WatchEvent.
Methods included from Enumeration
Constructor Details
#initialize(watch_types) ⇒ WatchEvent
Returns a new instance of WatchEvent.
156 157 158 |
# File 'lib/zkruby/client.rb', line 156 def initialize(watch_types) @watch_types = watch_types end |
Instance Attribute Details
#watch_types ⇒ Object (readonly)
Returns the value of attribute watch_types.
155 156 157 |
# File 'lib/zkruby/client.rb', line 155 def watch_types @watch_types end |