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_class-i.ri
U:RDoc::AnyMethod[iI"inject_into_class:ETI"-Bundler::Thor::Actions#inject_into_class;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HInjects text right after the class 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"klass<String|Class>;T; [o; ; [I" the class 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"|inject_into_class "app/controllers/application_controller.rb", ApplicationController, " filter_parameter :password\n" ;TI" ;TI"]inject_into_class "app/controllers/application_controller.rb", ApplicationController do ;TI"( " filter_parameter :password\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, klass, *args, &block);T@9FI"Actions;TcRDoc::NormalModule00