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:
parent
984e0233fe
commit
c7e6dbd5ab
1 changed files with 1 additions and 1 deletions
2
thread.c
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue