Class: Sunspot::Type::ClassType
- Inherits:
-
AbstractType
- Object
- AbstractType
- Sunspot::Type::ClassType
- Defined in:
- lib/sunspot/type.rb
Instance Method Summary collapse
-
#cast(string) ⇒ Object
:nodoc:.
-
#indexed_name(name) ⇒ Object
:nodoc:.
-
#to_indexed(value) ⇒ Object
:nodoc:.
Methods inherited from AbstractType
#accepts_dynamic?, #accepts_more_like_this?, instance, #to_literal
Instance Method Details
#cast(string) ⇒ Object
:nodoc:
336 337 338 |
# File 'lib/sunspot/type.rb', line 336 def cast(string) #:nodoc: Sunspot::Util.full_const_get(string) end |
#indexed_name(name) ⇒ Object
:nodoc:
328 329 330 |
# File 'lib/sunspot/type.rb', line 328 def indexed_name(name) #:nodoc: 'class_name' end |
#to_indexed(value) ⇒ Object
:nodoc:
332 333 334 |
# File 'lib/sunspot/type.rb', line 332 def to_indexed(value) #:nodoc: value.name end |