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
No known key found for this signature in database
GPG Key ID: 0AA2A00D6ACC8B84

View File

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