HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-2.7.4/doc/thor-1.1.0/ri/Thor/Actions/gsub_file-i.ri
U:RDoc::AnyMethod[iI"gsub_file:ETI"Thor::Actions#gsub_file;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"4Run a regular expression replacement on a file.;To:RDoc::Markup::BlankLineS:RDoc::Markup::Heading:
leveli	:	textI"Parameters;To:RDoc::Markup::List:
@type:	NOTE:@items[	o:RDoc::Markup::ListItem:@label[I"path<String>;T;	[o;
;	[I"#path of the file to be changed;To;;[I"flag<Regexp|String>;T;	[o;
;	[I"(the regexp or string to be replaced;To;;[I"replacement<String>;T;	[o;
;	[I"2the replacement, can be also given as a block;To;;[I"config<Hash>;T;	[o;
;	[I"7give :verbose => false to not log the status, and ;TI"K:force => true, to force the replacement regardles of runner behavior.;T@S;;
i	;I"Example;T@o:RDoc::Markup::Verbatim;	[
I"mgsub_file 'app/controllers/application_controller.rb', /#\s*(filter_parameter_logging :password)/, '\1'
;TI"
;TI"3gsub_file 'README', /rake/, :green do |match|
;TI"&  match << " no more. Use thor!"
;TI"end;T:@format0:
@fileI"*lib/thor/actions/file_manipulation.rb;T:0@omit_headings_from_table_of_contents_below000[I" (path, flag, *args, &block);T@9FI"Actions;TcRDoc::NormalModule00