From 06b8b312ace347aa243f5fafb0c91854e99b25de Mon Sep 17 00:00:00 2001 From: Craig Tiller <craig.tiller@gmail.com> Date: Mon, 11 May 2015 22:58:54 -0700 Subject: [PATCH] Remove unusable functions --- src/ruby/ext/grpc/rb_completion_queue.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/ruby/ext/grpc/rb_completion_queue.c b/src/ruby/ext/grpc/rb_completion_queue.c index 76ac68f887..d83a20e5c3 100644 --- a/src/ruby/ext/grpc/rb_completion_queue.c +++ b/src/ruby/ext/grpc/rb_completion_queue.c @@ -158,14 +158,6 @@ void Init_grpc_completion_queue() { this func, so no separate initialization step is necessary. */ rb_define_alloc_func(grpc_rb_cCompletionQueue, grpc_rb_completion_queue_alloc); - - /* Add the next method that waits for the next event. */ - rb_define_method(grpc_rb_cCompletionQueue, "next", - grpc_rb_completion_queue_next, 1); - - /* Add the pluck method that waits for the next event of given tag */ - rb_define_method(grpc_rb_cCompletionQueue, "pluck", - grpc_rb_completion_queue_pluck, 2); } /* Gets the wrapped completion queue from the ruby wrapper */ -- GitLab