Skip to content

Commit a870419

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Tweaks for Hash#inspect
1 parent 237ab21 commit a870419

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hash.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3505,11 +3505,12 @@ inspect_hash(VALUE hash, VALUE dummy, int recur)
35053505
* call-seq:
35063506
* inspect -> new_string
35073507
*
3508-
* Returns a new String containing the hash entries:
3509-
3508+
* Returns a new string containing the hash entries:
3509+
*
35103510
* h = {foo: 0, bar: 1, baz: 2}
35113511
* h.inspect # => "{foo: 0, bar: 1, baz: 2}"
35123512
*
3513+
* Related: see {Methods for Converting}[rdoc-ref:Hash@Methods+for+Converting].
35133514
*/
35143515

35153516
static VALUE

0 commit comments

Comments
 (0)