U:RDoc::AnyMethod[iI" sub_ext:ETI"Pathname#sub_ext;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"EReturn a pathname with +repl+ added as a suffix to the basename.;To:RDoc::Markup::BlankLineo; ; [I"7If self has no extension part, +repl+ is appended.;T@o:RDoc::Markup::Verbatim; [I"6Pathname.new('/usr/bin/shutdown').sub_ext('.rb') ;TI"- #=> #;T: @format0: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00