From c7e6dbd5ab488a42f2d1a8f3503480b92cd0aa88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Thu, 13 Feb 2020 12:53:49 +0900 Subject: fix arity mismatch This is a ruby method with arity zero. Which means, this function takes one argument (that is self). --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread.c b/thread.c index f5efe40ab8..b84fd17c84 100644 --- a/thread.c +++ b/thread.c @@ -309,7 +309,7 @@ static int rb_thread_debug_enabled; */ static VALUE -rb_thread_s_debug(void) +rb_thread_s_debug(VALUE _) { return INT2NUM(rb_thread_debug_enabled); } -- cgit v1.2.3