Refactor sym_each_i function

This commit is contained in:
S-H-GAMELINKS 2021-07-11 13:56:03 +09:00 committed by Nobuyoshi Nakada
parent e3cda75436
commit e882905d0d
Notes: git 2021-07-22 14:02:50 +09:00

View File

@ -781,8 +781,7 @@ each_i(VALUE v, VALUE arg)
static int
sym_each_i(VALUE v, VALUE arg)
{
rb_yield(rb_str_intern(v));
return 0;
return each_i(rb_str_intern(v), arg);
}
/*