Class: Sunspot::Facet
- Inherits:
-
Object
- Object
- Sunspot::Facet
- Defined in:
- lib/sunspot/facet.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(facet_data) ⇒ Facet
constructor
A new instance of Facet.
- #name ⇒ Object (also: #field_name)
- #rows ⇒ Object
Constructor Details
#initialize(facet_data) ⇒ Facet
Returns a new instance of Facet.
3 4 5 |
# File 'lib/sunspot/facet.rb', line 3 def initialize(facet_data) @facet_data = facet_data end |