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:
parent
8b49e5b47d
commit
46968fab0a
1 changed files with 1 additions and 1 deletions
2
string.c
2
string.c
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue