neerfri-zookeeper_client 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/zookeeper_c/zookeeper_ruby.c +1 -1
- metadata +1 -1
|
@@ -177,7 +177,7 @@ static VALUE method_set(VALUE self, VALUE path, VALUE data, VALUE version) {
|
|
|
177
177
|
|
|
178
178
|
void Init_zookeeper_c() {
|
|
179
179
|
ZooKeeper = rb_define_class("CZooKeeper", rb_cObject);
|
|
180
|
-
rb_define_method(ZooKeeper, "initialize", method_initialize,
|
|
180
|
+
rb_define_method(ZooKeeper, "initialize", method_initialize, 2);
|
|
181
181
|
rb_define_method(ZooKeeper, "ls", method_ls, 1);
|
|
182
182
|
rb_define_method(ZooKeeper, "exists", method_exists, 2);
|
|
183
183
|
rb_define_method(ZooKeeper, "create", method_create, 3);
|