lib/markov_uuid/storage.rb in markov_uuid-0.0.1 vs lib/markov_uuid/storage.rb in markov_uuid-0.0.2
- old
+ new
@@ -18,10 +18,10 @@
key = Markov::SEPARATOR
word = ""
result = length.times.map do
word = @data[key].sample rescue nil
- key = new_key( key, word )
+ key = new_key key, word
word
end.compact
Markov.new result
end