mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Replace RBOOL macro
This commit is contained in:
parent
8f752c95d2
commit
bdd6d8746f
Notes:
git
2021-09-05 23:01:54 +09:00
15 changed files with 43 additions and 43 deletions
|
@ -3369,7 +3369,7 @@ rb_arith_seq_new(VALUE obj, VALUE meth, int argc, VALUE const *argv,
|
|||
rb_ivar_set(aseq, id_begin, beg);
|
||||
rb_ivar_set(aseq, id_end, end);
|
||||
rb_ivar_set(aseq, id_step, step);
|
||||
rb_ivar_set(aseq, id_exclude_end, excl ? Qtrue : Qfalse);
|
||||
rb_ivar_set(aseq, id_exclude_end, RBOOL(excl));
|
||||
return aseq;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue