Skip to content

Commit

Permalink
[DOC] Tweaks for Array#inspect (ruby#11935)
Browse files Browse the repository at this point in the history
  • Loading branch information
BurdetteLamar authored Oct 22, 2024
1 parent 00af6a3 commit da82b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion array.c
Original file line number Diff line number Diff line change
Expand Up @@ -2958,14 +2958,15 @@ inspect_ary(VALUE ary, VALUE dummy, int recur)
/*
* call-seq:
* inspect -> new_string
* to_s -> new_string
*
* Returns the new string formed by calling method <tt>#inspect</tt>
* on each array element:
*
* a = [:foo, 'bar', 2]
* a.inspect # => "[:foo, \"bar\", 2]"
*
* Related: see {Methods for Querying}[rdoc-ref:Array@Methods+for+Querying].
* Related: see {Methods for Converting}[rdoc-ref:Array@Methods+for+Converting].
*/

static VALUE
Expand Down

0 comments on commit da82b84

Please sign in to comment.