| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/File/ |
Upload File : |
U:RDoc::AnyMethod[iI"
basename:ETI"File::basename;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KReturns the last component of the filename given in <i>file_name</i>, ;TI"Ewhich can be formed using both <code>File::SEPARATOR</code> and ;TI"<<code>File::ALT_SEPARATOR</code> as the separator when ;TI"B<code>File::ALT_SEPARATOR</code> is not <code>nil</code>. If ;TI"H<i>suffix</i> is given and present at the end of <i>file_name</i>, ;TI"Dit is removed. If <i>suffix</i> is ".*", any extension will be ;TI"
removed.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"FFile.basename("/home/gumby/work/ruby.rb") #=> "ruby.rb"
;TI"CFile.basename("/home/gumby/work/ruby.rb", ".rb") #=> "ruby"
;TI"BFile.basename("/home/gumby/work/ruby.rb", ".*") #=> "ruby";T:@format0:
@fileI"file.c;T:0@omit_headings_from_table_of_contents_below0I"9File.basename(file_name [, suffix] ) -> base_name
;T0[ I"(*args);T@FI" File;TcRDoc::NormalClass00