mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Improve consistency of bool/true/false
This commit is contained in:
parent
e27acb6148
commit
09e76e9828
5 changed files with 11 additions and 11 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue