HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/String/chomp-i.ri
U:RDoc::AnyMethod[iI"
chomp:ETI"String#chomp;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"BReturns a new String with the given record separator removed ;TI"Nfrom the end of <i>str</i> (if present). If <code>$/</code> has not been ;TI"Rchanged from the default Ruby record separator, then <code>chomp</code> also ;TI"Qremoves carriage return characters (that is it will remove <code>\n</code>, ;TI"U<code>\r</code>, and <code>\r\n</code>). If <code>$/</code> is an empty string, ;TI":it will remove all trailing newlines from the string.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"."hello".chomp                #=> "hello"
;TI"."hello\n".chomp              #=> "hello"
;TI"."hello\r\n".chomp            #=> "hello"
;TI"0"hello\n\r".chomp            #=> "hello\n"
;TI"."hello\r".chomp              #=> "hello"
;TI"7"hello \n there".chomp       #=> "hello \n there"
;TI"+"hello".chomp("llo")         #=> "he"
;TI"."hello\r\n\r\n".chomp('')    #=> "hello"
;TI"3"hello\r\n\r\r\n".chomp('')  #=> "hello\r\n\r";T:@format0:
@fileI"
string.c;T:0@omit_headings_from_table_of_contents_below0I"*str.chomp(separator=$/)   -> new_str
;T0[I"(*args);T@FI"String;TcRDoc::NormalClass00