From fa6cce5cc7d71f6f3d4c14dc210afefbc747f6e1 Mon Sep 17 00:00:00 2001 From: Sidoruk Nikolay Date: Tue, 9 Jun 2020 11:24:17 +0300 Subject: [PATCH] Frozen string issue fix. --- lib/rambling/trie/stringifyable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rambling/trie/stringifyable.rb b/lib/rambling/trie/stringifyable.rb index 7d830e60..41aae797 100644 --- a/lib/rambling/trie/stringifyable.rb +++ b/lib/rambling/trie/stringifyable.rb @@ -19,7 +19,7 @@ def as_word # String representation of the current node. # @return [String] the string representation of the current node. def to_s - parent.to_s << letter.to_s + parent.to_s + letter.to_s end end end