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/inject_into_module-i.ri
U:RDoc::AnyMethod[iI"inject_into_module:ETI".Bundler::Thor::Actions#inject_into_module;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"IInjects text right after the module definition. Since it depends on ;TI"'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"module_name<String|Class>;T; [o; ; [I"!the module to be manipulated;To;;[I"data<String>;T; [o; ; [I"Cthe data to append to the class, 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" Examples;T@o:RDoc::Markup::Verbatim; [ I"linject_into_module "app/helpers/application_helper.rb", ApplicationHelper, " def help; 'help'; end\n" ;TI" ;TI"Rinject_into_module "app/helpers/application_helper.rb", ApplicationHelper do ;TI"# " def help; 'help'; end\n" ;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"'(path, module_name, *args, &block);T@9FI"Actions;TcRDoc::NormalModule00