Method: Sunspot::CompositeSetup#type_names
- Defined in:
- lib/sunspot/composite_setup.rb
#type_names ⇒ Object
Return the names of the encapsulated types
Returns
- Array
-
Collection of class names
34 35 36 |
# File 'lib/sunspot/composite_setup.rb', line 34 def type_names @type_names ||= @types.map { |clazz| clazz.name } end |