diff options
author | James Strocel <James.Strocel@gmail.com> | 2012-04-25 09:01:59 -0700 |
---|---|---|
committer | James Strocel <James.Strocel@gmail.com> | 2012-04-25 09:01:59 -0700 |
commit | 7f04235e523253bcf0a7d58d9f9bb61313a83337 (patch) | |
tree | b98d4c5b3fee0826408ede0a27062a1a55d8822a /guides | |
parent | 4179141a012c84afa4756aa565aca3a07e4693fa (diff) | |
download | rails-7f04235e523253bcf0a7d58d9f9bb61313a83337.tar.gz rails-7f04235e523253bcf0a7d58d9f9bb61313a83337.tar.bz2 rails-7f04235e523253bcf0a7d58d9f9bb61313a83337.zip |
Copy Edit
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/generators.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/generators.textile b/guides/source/generators.textile index e9d713d91d..2e9ab0526d 100644 --- a/guides/source/generators.textile +++ b/guides/source/generators.textile @@ -468,7 +468,7 @@ Replaces text inside a file. <ruby> gsub_file 'name_of_file.rb', 'method.to_be_replaced', 'method.the_replacing_code' -</ruby +</ruby> 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. |