Improve consistency of bool/true/false

This commit is contained in:
Kazuhiro NISHIYAMA 2019-11-25 15:05:53 +09:00
parent e27acb6148
commit 09e76e9828
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A
5 changed files with 11 additions and 11 deletions

View file

@ -2614,7 +2614,7 @@ rb_const_list(void *data)
VALUE
rb_mod_constants(int argc, const VALUE *argv, VALUE mod)
{
bool inherit = TRUE;
bool inherit = true;
if (rb_check_arity(argc, 0, 1)) inherit = RTEST(argv[0]);
@ -3213,7 +3213,7 @@ cvar_list(void *data)
VALUE
rb_mod_class_variables(int argc, const VALUE *argv, VALUE mod)
{
bool inherit = TRUE;
bool inherit = true;
st_table *tbl;
if (rb_check_arity(argc, 0, 1)) inherit = RTEST(argv[0]);