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
1 changed files with 1 additions and 1 deletions

View File

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