1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

string.c: [DOC] fix reference to sprintf [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-03-20 01:35:27 +00:00
parent 8b49e5b47d
commit 46968fab0a

View file

@ -1997,7 +1997,7 @@ rb_str_times(VALUE str, VALUE times)
* the result of applying it to <i>arg</i>. If the format
* specification contains more than one substitution, then <i>arg</i>
* must be an Array or Hash containing the values to be
* substituted. See Kernel::sprintf for details of the format string.
* substituted. See Kernel#sprintf for details of the format string.
*
* "%05d" % 123 #=> "00123"
* "%-5s: %016x" % [ "ID", self.object_id ] #=> "ID : 00002b054ec93168"