# File lib/utility/ternarytrie.rb, line 46 def find(key) return [] if !key.respond_to? :to_str key = key.to_str match = [] find_r(@root, key, match, 0) match end