summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorZopolis4 <[email protected]>2025-05-10 20:48:35 +1000
committerHiroshi SHIBATA <[email protected]>2025-05-11 07:07:10 +0900
commit915d0277381826edf83a261c85e9fe0919a3a3a3 ()
tree357aa5a38dc8afabbe9323645b8a6d824920f0e2 /array.c
parent98667f82d29f758007e5c3487fc31dff5f0a4fa9 (diff)
Fix typo (newsString -> new String)
Notes: Merged: https://.com/ruby/ruby/pull/13296
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
@@ -8723,7 +8723,7 @@ rb_ary_deconstruct(VALUE ary)
* - #collect! (aliased as #map!): Replaces each element with a block return-value.
* - #flatten: Returns an array that is a recursive flattening of +self+.
* - #inspect (aliased as #to_s): Returns a new String containing the elements.
- * - #join: Returns a newsString containing the elements joined by the field separator.
* - #to_a: Returns +self+ or a new array containing all elements.
* - #to_ary: Returns +self+.
* - #to_h: Returns a new hash formed from the elements.