method

replace!

ruby latest stable - Class: Bundler::Thor::Actions::InjectIntoFile

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

replace!(regexp, string, force)
protected

Adds the content to the file.