Method: String#rjust
- Defined in:
- string.c
#rjust(size, pad_string = ' ') ⇒ Object
:include: doc/string/rjust.rdoc
Related: String#ljust, String#center.
10968 10969 10970 10971 10972 |
# File 'string.c', line 10968
static VALUE
rb_str_rjust(int argc, VALUE *argv, VALUE str)
{
return rb_str_justify(argc, argv, str, 'r');
}
|