Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Bundler
/
Thor
/
Actions
/
//proc/212/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/Bundler/Thor/Actions/insert_into_file-i.ri
U:RDoc::AnyMethod[iI"insert_into_file:ETI",Bundler::Thor::Actions#insert_into_file;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KInjects the given content into a file. Different from gsub_file, this ;TI"method is reversible.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli : textI"Parameters;To:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"destination<String>;T; [o; ; [I"*Relative path to the destination root;To;;[I"data<String>;T; [o; ; [I"6Data to add to the file. Can be given as a block.;To;;[I"config<Hash>;T; [o; ; [I"?give :verbose => false to not log the status and the flag ;TI"=for injection (:after or :before) or :force => true for ;TI"/insert two or more times the same content.;T@S;; i ;I" Examples;T@o:RDoc::Markup::Verbatim; [I"tinsert_into_file "config/environment.rb", "config.gem :thor", :after => "Rails::Initializer.run do |config|\n" ;TI" ;TI"cinsert_into_file "config/environment.rb", :after => "Rails::Initializer.run do |config|\n" do ;TI"6 gems = ask "Which gems would you like to add?" ;TI"F gems.split(" ").map{ |gem| " config.gem :#{gem}" }.join("\n") ;TI"end;T:@format0: @fileI"Alib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb;T:0@omit_headings_from_table_of_contents_below000[[I"inject_into_file;To;; [ ;@5;0I"!(destination, *args, &block);T@5FI"Actions;TcRDoc::NormalModule00