[DOC] Tweaks for String#rjust

This commit is contained in:
BurdetteLamar 2025-10-13 17:27:50 +01:00 committed by Peter Zhu
parent 79b2685675
commit 53ca9fbb4c
Notes: git 2025-10-13 22:15:27 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -14,3 +14,5 @@ If +size+ is not greater than the size of +self+, returns a copy of +self+:
'hello'.rjust(5, 'ab') # => "hello"
'hello'.rjust(1, 'ab') # => "hello"
Related: see {Converting to New String}[rdoc-ref:String@Converting+to+New+String].

View File

@ -11181,8 +11181,6 @@ rb_str_ljust(int argc, VALUE *argv, VALUE str)
*
* :include: doc/string/rjust.rdoc
*
* Related: String#ljust, String#center.
*
*/
static VALUE