DEV: User simulator tried to modify frozen string.

DEV: User simulator tried to modify frozen string.

diff --git a/script/user_simulator.rb b/script/user_simulator.rb
index 4d76d27..fb7853a 100644
--- a/script/user_simulator.rb
+++ b/script/user_simulator.rb
@@ -15,7 +15,7 @@ def sentence
     gabbler.learn(story)
   end
 
-  sentence = ""
+  sentence = +""
   until sentence.length > 800 do
     sentence << @gabbler.sentence
     sentence << "\n"

GitHub sha: ab7038bf

1 Like