Created
July 21, 2012 14:41
-
-
Save gonzedge/3155984 to your computer and use it in GitHub Desktop.
Rambling Trie 0.4.1 is out!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trie << 'word' # equivalent to trie.add_branch_from('word') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trie.include? 'word' # equivalent to trie.is_word?('word') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trie = Rambling::Trie.create |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment