Sha256: cf0c6b077bc35e5a1507dcbd6341b52ca52f8a9ae8aa4d51073029276a4004cc

Contents?: true

Size: 229 Bytes

Versions: 9

Compression:

Stored size: 229 Bytes

Contents

module Sunspot
  #
  # This class encapsulates a facet row (value) for a facet.
  #
  class FacetRow
    attr_reader :value, :count

    def initialize(value, count) #:nodoc:
      @value, @count = value, count
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
benjaminkrause-sunspot-0.9.7 lib/sunspot/facet_row.rb
benjaminkrause-sunspot-0.9.8 lib/sunspot/facet_row.rb
sunspot-0.10.5 lib/sunspot/facet_row.rb
sunspot-0.10.4 lib/sunspot/facet_row.rb
kuahyeow-sunspot-0.10.3 lib/sunspot/facet_row.rb
sunspot-0.10.3 lib/sunspot/facet_row.rb
sunspot-0.10.2 lib/sunspot/facet_row.rb
sunspot-0.10.1 lib/sunspot/facet_row.rb
sunspot-0.10.0 lib/sunspot/facet_row.rb