1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix arity mismatch

This is a ruby method with arity zero.  Which means, this function takes
one argument (that is self).
This commit is contained in:
卜部昌平 2020-02-13 12:53:49 +09:00
parent 984e0233fe
commit c7e6dbd5ab

View file

@ -309,7 +309,7 @@ static int rb_thread_debug_enabled;
*/ */
static VALUE static VALUE
rb_thread_s_debug(void) rb_thread_s_debug(VALUE _)
{ {
return INT2NUM(rb_thread_debug_enabled); return INT2NUM(rb_thread_debug_enabled);
} }