# File lib/thinking_sphinx/masks/weight_enumerator_mask.rb, line 12 def each_with_weight(&block) @search.raw.each_with_index do |row, index| yield @search[index], row["weight()"] end end