Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Copy Edit

  • Loading branch information...
commit 7f04235e523253bcf0a7d58d9f9bb61313a83337 1 parent 4179141
James Strocel jstrocel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/generators.textile
2  guides/source/generators.textile
@@ -468,7 +468,7 @@ Replaces text inside a file.
gsub_file 'name_of_file.rb', 'method.to_be_replaced', 'method.the_replacing_code'
Regular Expressions can be used to make this method more precise. You can also use append_file and prepend_file in the same way to place code at the beginning and end of a file respectively.
Please sign in to comment.
Something went wrong with that request. Please try again.