diff options
author | John Bampton <[email protected]> | 2024-10-09 03:36:17 +1000 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-10-09 07:14:44 +0900 |
commit | 3fc1495c305bca14ab30d458e74dcc42424195d1 () | |
tree | 611e589beb7d96725b6e5d3d7cfdfb68a974514d /range.c | |
parent | 65494d3cc6fbe5b25431021ac155b7aba3a1dff3 (diff) |
Fix spelling
Notes: Merged: https://.com/ruby/ruby/pull/11835
-rw-r--r-- | range.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. const VALUE str_b = rb_check_string_type(b); const VALUE sym_b = SYMBOL_P(b) ? rb_sym2str(b) : Qnil; |