D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
String
/
Filename :
rjust-i.ri
back
Copy
U:RDoc::AnyMethod[iI" rjust:ETI"String#rjust;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I".Returns a right-justified copy of +self+.;To:RDoc::Markup::BlankLine o; ; [I"TIf integer argument +size+ is greater than the size (in characters) of +self+, ;TI"Ereturns a new string of length +size+ that is a copy of +self+, ;TI">right justified and padded on the left with +pad_string+:;T@o:RDoc::Markup::Verbatim; [ I"/'hello'.rjust(10) # => " hello" ;TI"/'hello '.rjust(10) # => " hello " ;TI"/'hello'.rjust(10, 'ab') # => "ababahello" ;TI"7'тест'.rjust(10) # => " тест" ;TI"@'こんにちは'.rjust(10) # => " こんにちは" ;T:@format0o; ; [I"PIf +size+ is not greater than the size of +self+, returns a copy of +self+:;T@o;; [I"*'hello'.rjust(5, 'ab') # => "hello" ;TI"*'hello'.rjust(1, 'ab') # => "hello" ;T; 0o; ; [I"*Related: String#ljust, String#center.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"1rjust(size, pad_string = ' ') -> new_string ;T0[ I"(*args);T@%FI"String;TcRDoc::NormalClass00