Class: Sunspot::TypeField
- Inherits:
-
Object
- Object
- Sunspot::TypeField
- Defined in:
- lib/sunspot/field.rb
Overview
:nodoc:
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
permalink .instance ⇒ Object
[View source]
152 153 154 |
# File 'lib/sunspot/field.rb', line 152 def instance @instance ||= new end |
Instance Method Details
permalink #indexed_name ⇒ Object
[View source]
157 158 159 |
# File 'lib/sunspot/field.rb', line 157 def indexed_name 'type' end |
permalink #to_indexed(clazz) ⇒ Object
[View source]
161 162 163 |
# File 'lib/sunspot/field.rb', line 161 def to_indexed(clazz) clazz.name end |