Class: Sunspot::TypeField
- Inherits:
-
Object
- Object
- Sunspot::TypeField
- Defined in:
- sunspot/lib/sunspot/field.rb
Overview
:nodoc:
Class Method Summary (collapse)
Instance Method Summary (collapse)
Class Method Details
+ (Object) instance
163 164 165 |
# File 'sunspot/lib/sunspot/field.rb', line 163 def instance @instance ||= new end |
Instance Method Details
- (Object) indexed_name
168 169 170 |
# File 'sunspot/lib/sunspot/field.rb', line 168 def indexed_name 'type' end |
- (Object) to_indexed(clazz)
172 173 174 |
# File 'sunspot/lib/sunspot/field.rb', line 172 def to_indexed(clazz) clazz.name end |