manpagez: man pages & more
info gettext
Home | html | info | man

File: gettext.info,  Node: ruby-format,  Next: sh-format,  Prev: go-format,  Up: Translators for other Languages

16.3.14 Ruby Format Strings
---------------------------

   Ruby format strings are described in the documentation of the Ruby
functions ‘format’ and ‘sprintf’, in
.

   There are two kinds of format strings in Ruby:
   • Those that take a list of arguments without names.  They support
     argument reordering by use of the ‘%N$’ syntax.  Note that if one
     argument uses this syntax, all must use this syntax.
   • Those that take a hash table, containing named arguments.  The
     syntax is ‘%’.  Note that ‘%{NAME}’ is equivalent to
     ‘%s’.

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.