Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
String
/
//proc/self/root/proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/String/center-i.ri
U:RDoc::AnyMethod[iI"center:ETI"String#center;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"PCenters +str+ in +width+. If +width+ is greater than the length of +str+, ;TI"Preturns a new String of length +width+ with +str+ centered and padded with ;TI"(+padstr+; otherwise, returns +str+.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"+"hello".center(4) #=> "hello" ;TI":"hello".center(20) #=> " hello " ;TI"9"hello".center(20, '123') #=> "1231231hello12312312";T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"0str.center(width, padstr=' ') -> new_str ;T0[ I"(*args);T@FI"String;TcRDoc::NormalClass00