lib/rambling/trie/stringifyable.rb in rambling-trie-2.1.0 vs lib/rambling/trie/stringifyable.rb in rambling-trie-2.1.1
- old
+ new
@@ -17,10 +17,10 @@
end
# 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
end