lib/picky/backends/memory/text.rb in picky-3.4.3 vs lib/picky/backends/memory/text.rb in picky-3.5.0

- old
+ new

@@ -39,18 +39,18 @@ # Retrieves prepared index data in the form # * id,data\n # * id,data\n # * id,data\n # - # Yields an id string and a symbol token. + # Yields an id string and a token. # def retrieve id = nil token = nil ::File.open(cache_path, 'r:utf-8') do |file| file.each_line do |line| id, token = line.split ?,, 2 - yield id, (token.chomp! || token).to_sym # TODO to_sym + yield id, (token.chomp! || token) end end end # \ No newline at end of file