lib/limp.rb in limp-0.0.2 vs lib/limp.rb in limp-0.0.3
- old
+ new
@@ -1,10 +1,10 @@
##
# Singleton module for exposing tokens
module Limp
class << self
def tokens
- @tokens ||= db_files.map { |x| read_tokens(x) }.flatten
+ @tokens ||= db_files.map { |x| read_tokens(x) }.flatten.uniq
end
private
def base_dir