diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-29 17:28:58 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-29 17:28:58 +0900 |
commit | e2d97cffe5aecc88f3fc4dc7be9a7b3a57bede87 (patch) | |
tree | edfc09e34ebced9d2330d159e7019aab5848c0eb /array.c | |
parent | 289cad501d7a5219568450333d440364674441b0 (diff) |
[DOC] stated that Array#to_s calls #inspect [ci skip]
[ruby-list:50826]
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2442,7 +2442,8 @@ inspect_ary(VALUE ary, VALUE dummy, int recur) * ary.inspect -> string * ary.to_s -> string * - * Creates a string representation of +self+. + * Creates a string representation of +self+, by calling #inspect + * method on each elements. * * [ "a", "b", "c" ].to_s #=> "[\"a\", \"b\", \"c\"]" */ |