Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Bundler
/
Thor
/
Actions
/
//opt/alt/ruby27/share/ri/system/Bundler/Thor/Actions/prepend_to_file-i.ri
U:RDoc::AnyMethod[iI"prepend_to_file:ETI"+Bundler::Thor::Actions#prepend_to_file;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"SPrepend text to a file. Since it depends on insert_into_file, it's 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"path<String>;T; [o; ; [I"#path of the file to be changed;To;;[I"data<String>;T; [o; ; [I"Cthe data to prepend to the file, can be also given as a block.;To;;[I"config<Hash>;T; [o; ; [I"2give :verbose => false to not log the status.;T@S;; i ;I"Example;T@o:RDoc::Markup::Verbatim; [ I"Iprepend_to_file 'config/environments/test.rb', 'config.gem "rspec"' ;TI" ;TI"6prepend_to_file 'config/environments/test.rb' do ;TI" 'config.gem "rspec"' ;TI"end;T:@format0: @fileI"Blib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb;T:0@omit_headings_from_table_of_contents_below000[[I"prepend_file;To;; [ ;@1;0I"(path, *args, &block);T@1FI"Actions;TcRDoc::NormalModule00