Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
String
/
//opt/alt/ruby21/share/ri/2.1.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::NormalClassI" scanf;T0