Class: Zookeeper::Callbacks::StringCallback
- Defined in:
- lib/zookeeper/callbacks.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
acreate, async.
-
#return_code ⇒ Object
readonly
acreate, async.
-
#string ⇒ Object
(also: #path)
readonly
acreate, async.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#call, #completed?, create, #initialize
Constructor Details
This class inherits a constructor from Zookeeper::Callbacks::Base
Instance Attribute Details
#context ⇒ Object (readonly)
acreate, async
64 65 66 |
# File 'lib/zookeeper/callbacks.rb', line 64 def context @context end |
#return_code ⇒ Object (readonly)
acreate, async
64 65 66 |
# File 'lib/zookeeper/callbacks.rb', line 64 def return_code @return_code end |
#string ⇒ Object (readonly) Also known as: path
acreate, async
64 65 66 |
# File 'lib/zookeeper/callbacks.rb', line 64 def string @string end |
Instance Method Details
#initialize_context(hash) ⇒ Object
68 69 70 |
# File 'lib/zookeeper/callbacks.rb', line 68 def initialize_context(hash) @return_code, @string, @context = hash[:rc], hash[:string], hash[:context] end |