Next: Shell Format Strings, Previous: librep Format Strings, Up: The Translator’s View [Contents][Index]
Ruby format strings are described in the documentation of the Ruby
functions format
and sprintf
, in
https://ruby-doc.org/core-2.7.1/Kernel.html#method-i-sprintf.
There are two kinds of format strings in Ruby:
%n$
syntax. Note
that if one argument uses this syntax, all must use this syntax.
%<name>
. Note that %{name}
is
equivalent to %<name>s
.