Class: ZooKeeper::ZKString
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- ZooKeeper::ZKString
- Defined in:
- lib/zkruby/bindata.rb
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
17 |
# File 'lib/zkruby/bindata.rb', line 17 def get; self.data; end |
#set(v) ⇒ Object
18 |
# File 'lib/zkruby/bindata.rb', line 18 def set(v) self.data = v; end |
#snapshot ⇒ Object
19 20 21 |
# File 'lib/zkruby/bindata.rb', line 19 def snapshot super.force_encoding('UTF-8') end |