summaryrefslogtreecommitdiffhomepage
path: root/dragon
diff options
context:
space:
mode:
authorarjun <[email protected]>2021-05-26 05:25:32 +0530
committerAmir Rajan <[email protected]>2021-05-25 19:04:17 -0500
commit3864dc6e69975fc7737fa4e0d86d2545e660b694 (patch)
treea9b8475472f5a58010ec5c612c485736b0fbe7e6 /dragon
parent8a29791f01d8b7d88bf9d53522e1fd9051564945 (diff)
downloaddragonruby-game-toolkit-contrib-3864dc6e69975fc7737fa4e0d86d2545e660b694.tar.gz
dragonruby-game-toolkit-contrib-3864dc6e69975fc7737fa4e0d86d2545e660b694.zip
Updating documentation on repl logging to logs/puts.txt
Diffstat (limited to 'dragon')
-rw-r--r--dragon/readme_docs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dragon/readme_docs.rb b/dragon/readme_docs.rb
index 020f856..aedf976 100644
--- a/dragon/readme_docs.rb
+++ b/dragon/readme_docs.rb
@@ -1109,7 +1109,7 @@ file called ~repl.rb~ and put it in ~mygame/app/repl.rb~:
- If you use the `repl` method, the code will be executed and the DragonRuby Console will automatically open so you can see the results (on Mac and Linux, the results will also be printed to the terminal).
-- All ~puts~ statements will also be saved to ~logs/log.txt~. So if you want to stay in your editor and not look at the terminal, or the DragonRuby Console, you can ~tail~ this file.
+- All ~puts~ statements will also be saved to ~logs/puts.txt~. So if you want to stay in your editor and not look at the terminal, or the DragonRuby Console, you can ~tail~ this file.
4. To ignore code in ~repl.rb~, instead of commenting it out, prefix ~repl~ with the letter ~x~ and it'll be ignored.