lib/rambling/trie/branches.rb in rambling-trie-0.8.0 vs lib/rambling/trie/branches.rb in rambling-trie-0.8.1

- old
+ new

@@ -124,10 +124,10 @@ false end def current_key letter - current_key_string = current_key = nil + current_key_string = current_key = '' children_tree.keys.each do |key| key_string = key.to_s if key_string.start_with? letter current_key = key