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/cdesc-Actions.ri
U:RDoc::NormalModule[iI"Actions:ETI"Bundler::Thor::Actions;T0o:RDoc::Markup::Document:@parts[o;;[ : @fileI"0lib/bundler/vendor/thor/lib/thor/actions.rb;T:0@omit_headings_from_table_of_contents_below0o;;[ ; I"<lib/bundler/vendor/thor/lib/thor/actions/create_file.rb;T; 0o;;[ ; I"<lib/bundler/vendor/thor/lib/thor/actions/create_link.rb;T; 0o;;[ ; I":lib/bundler/vendor/thor/lib/thor/actions/directory.rb;T; 0o;;[ ; I"@lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb;T; 0o;;[ ; I"Blib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb;T; 0o;;[ ; I"Alib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb;T; 0; 0; 0[[ I" behavior;TI"RW;T:privateFI"0lib/bundler/vendor/thor/lib/thor/actions.rb;T[ I"output_buffer;T@#;FI"Blib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb;T[U:RDoc::Constant[i I" WARNINGS;TI"%Bundler::Thor::Actions::WARNINGS;T:public0o;;[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@3S;;i ;I" Examples;T@3o: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; @; 0@@cRDoc::NormalModule0[ [[I" class;T[[; [ [:protected[ [;[[I"new;T@$[I" instance;T[[; [ [;[ [;[*[I" add_file;TI"<lib/bundler/vendor/thor/lib/thor/actions/create_file.rb;T[I" add_link;TI"<lib/bundler/vendor/thor/lib/thor/actions/create_link.rb;T[I"append_file;T@'[I"append_to_file;T@'[I" apply;T@$[I"capture;T@'[I" chmod;T@'[I"comment_lines;T@'[I"concat;T@'[I"copy_file;T@'[I"create_file;T@r[I"create_link;T@u[I"destination_root;T@$[I"destination_root=;T@$[I"directory;TI":lib/bundler/vendor/thor/lib/thor/actions/directory.rb;T[I"empty_directory;TI"@lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb;T[I"find_in_source_paths;T@$[I"get;T@'[I"gsub_file;T@'[I"in_root;T@$[I"inject_into_class;T@'[I"inject_into_file;TI"Alib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb;T[I"inject_into_module;T@'[I"insert_into_file;T@�[I"inside;T@$[I"link_file;T@'[I"prepend_file;T@'[I"prepend_to_file;T@'[I"*relative_to_original_destination_root;T@$[I"remove_dir;T@'[I"remove_file;T@'[I"run;T@$[I"run_ruby_script;T@$[I"source_paths;T@$[I" template;T@'[I" thor;T@$[I"uncomment_lines;T@'[[I"ClassMethods;To;;[ ; @ ; 0@$[U:RDoc::Context::Section[i 0o;;[ ; 0; 0[I"0lib/bundler/vendor/thor/lib/thor/actions.rb;TI"<lib/bundler/vendor/thor/lib/thor/actions/create_file.rb;TI"<lib/bundler/vendor/thor/lib/thor/actions/create_link.rb;TI":lib/bundler/vendor/thor/lib/thor/actions/directory.rb;TI"@lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb;TI"Blib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb;TI"Alib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb;TI"Bundler::Thor;TcRDoc::NormalClass