Fix spelling

This commit is contained in:
John Bampton 2024-10-09 03:36:17 +10:00 committed by Hiroshi SHIBATA
parent 65494d3cc6
commit 3fc1495c30
Notes: git 2024-10-08 22:15:02 +00:00
7 changed files with 15 additions and 15 deletions

View file

@ -493,7 +493,7 @@ range_step(int argc, VALUE *argv, VALUE range)
const VALUE e_num_p = rb_obj_is_kind_of(e, rb_cNumeric);
// For backward compatibility reasons (conforming to behavior before 3.4), String/Symbol
// supports both old behavior ('a'..).step(1) and new behavior ('a'..).step('a')
// Hence the additional conversion/addional checks.
// Hence the additional conversion/additional checks.
const VALUE str_b = rb_check_string_type(b);
const VALUE sym_b = SYMBOL_P(b) ? rb_sym2str(b) : Qnil;