Skip to content

Instantly share code, notes, and snippets.

@gonzedge
Created July 28, 2012 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gonzedge/3194527 to your computer and use it in GitHub Desktop.
Save gonzedge/3194527 to your computer and use it in GitHub Desktop.
Version 0.4.2 of the Rambling Trie has been released!
trie.each do |word|
puts "#{word} is included!"
end
trie = Rambling::Trie.create
(%w(some words and other stuff)).each |word|
trie << word
end
trie.any? { |word| word.include? 'x' }
trie.all? { |word| word.length > 0 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment