U:RDoc::AnyMethod[iI"inplace_mode=:ETI"ARGF#inplace_mode=;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"PSets the filename extension for in-place editing mode to the given String. ;TI"IEach file being edited has this value appended to its filename. The ;TI"0modified file is saved under this new name.;To:RDoc::Markup::BlankLineo; ; [I"For example:;T@o:RDoc::Markup::Verbatim; [ I"$ ruby argf.rb file.txt ;TI" ;TI" ARGF.inplace_mode = '.bak' ;TI"ARGF.each_line do |line| ;TI"# print line.sub("foo","bar") ;TI" end ;T: @format0o; ; [I"MEach line of _file.txt_ has the first occurrence of "foo" replaced with ;TI"?"bar", then the new line is written out to _file.txt.bak_.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"&ARGF.inplace_mode = ext -> ARGF ;T0[I" (p1);T@ FI" ARGF;TcRDoc::NormalClass00