Module: Sunspot::Type::ClassType
- Defined in:
- lib/sunspot/type.rb
Class Method Summary collapse
Class Method Details
.cast(string) ⇒ Object
194 195 196 |
# File 'lib/sunspot/type.rb', line 194 def cast(string) Sunspot::Util.full_const_get(string) end |
.indexed_name(name) ⇒ Object
186 187 188 |
# File 'lib/sunspot/type.rb', line 186 def indexed_name(name) 'class_name' end |
.to_indexed(value) ⇒ Object
190 191 192 |
# File 'lib/sunspot/type.rb', line 190 def to_indexed(value) value.name end |