Merge pull request #17 from github/radville/prepare-frozen-strings

Prepare for frozen strings: mark strings as mutable to allow us to set --enable-frozen-string-literal globally
This commit is contained in:
Laura Radville 2024-09-05 11:04:50 -04:00 коммит произвёл GitHub
Родитель aa7e3f5d12 d941a7db0e
Коммит f3b2e729cb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -31,7 +31,7 @@ module BERT
def initialize(ins)
@in = ins
@peeked = ""
@peeked = +""
end
def read_any
@ -66,7 +66,7 @@ module BERT
length = 0
else
result = @peeked
@peeked = ''
@peeked = +''
length -= result.length
end