rambling-trie 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/trie_node.rb +2 -2
  2. metadata +3 -3
data/lib/trie_node.rb CHANGED
@@ -52,9 +52,9 @@ module Rambling
52
52
  end
53
53
  end
54
54
 
55
- def has_branch_tree?(word)
55
+ def has_branch_for?(word)
56
56
  return true if word.empty?
57
- passes_condition(word) { |node, sliced_word| node.has_branch_tree?(sliced_word) }
57
+ passes_condition(word) { |node, sliced_word| node.has_branch_for?(sliced_word) }
58
58
  end
59
59
 
60
60
  def is_word?(word)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rambling-trie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,9 +9,9 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-04 00:00:00.000000000Z
12
+ date: 2012-02-07 00:00:00.000000000Z
13
13
  dependencies: []
14
- description: A custom trie implementation
14
+ description: A custom implementation of the trie data structure
15
15
  email: development@ramblinglabs.com
16
16
  executables: []
17
17
  extensions: []