DEV: User simulator tried to modify frozen string.

This commit is contained in:
Dan Ungureanu
2019-08-16 17:32:17 +03:00
parent df6630f868
commit ab7038bfc2

View File

@@ -15,7 +15,7 @@ def sentence
gabbler.learn(story)
end
sentence = ""
sentence = +""
until sentence.length > 800 do
sentence << @gabbler.sentence
sentence << "\n"