Sha256: 87f2160fe3cba9a0b0659f240e2b93adaca7bf982f3c9905f24152a3b6d97954
Contents?: true
Size: 243 Bytes
Versions: 4
Compression:
Stored size: 243 Bytes
Contents
class ThinkingSphinx::Masks::WeightEnumeratorMask def initialize(search) @search = search end def each_with_weight(&block) @search.raw.each_with_index do |row, index| yield @search[index], row['@weight'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems