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
.instance ⇒ Object
179 180 181 |
# File 'lib/sunspot/field.rb', line 179 def instance @instance ||= new end |
Instance Method Details
#indexed_name ⇒ Object
184 185 186 |
# File 'lib/sunspot/field.rb', line 184 def indexed_name 'type' end |
#to_indexed(clazz) ⇒ Object
188 189 190 |
# File 'lib/sunspot/field.rb', line 188 def to_indexed(clazz) clazz.name end |