Method: Sunspot::CompositeSetup#all_text_fields
- Defined in:
- lib/sunspot/composite_setup.rb
#all_text_fields ⇒ Object
Collection of all text fields configured for any of the enclosed types.
Returns
- Array
-
Text fields configured for the enclosed types
107 108 109 |
# File 'lib/sunspot/composite_setup.rb', line 107 def all_text_fields @text_fields ||= text_fields_hash.values.map { |set| set.to_a }.flatten end |