lib/proxes/helpers/indices.rb in proxes-0.6.1 vs lib/proxes/helpers/indices.rb in proxes-0.7.0
- old
+ new
@@ -8,10 +8,10 @@
answer = []
against.each do |pattern|
answer.concat(asked.select { |idx| idx =~ /#{pattern}/ })
end
- answer.count > 0 ? answer : against
+ answer
end
end
end
end