mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
[DOC] Tweaks for String#rjust
This commit is contained in:
parent
79b2685675
commit
53ca9fbb4c
Notes:
git
2025-10-13 22:15:27 +00:00
@ -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].
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user