Class: Sunspot::Type::ClassType
- Inherits:
-
AbstractType
- Object
- AbstractType
- Sunspot::Type::ClassType
- Defined in:
- sunspot/lib/sunspot/type.rb
Instance Method Summary (collapse)
-
- (Object) cast(string)
:nodoc:.
-
- (Object) indexed_name(name)
:nodoc:.
-
- (Object) to_indexed(value)
:nodoc:.
Methods inherited from AbstractType
#accepts_dynamic?, #accepts_more_like_this?, #to_literal
Instance Method Details
- (Object) cast(string)
:nodoc:
366 367 368 |
# File 'sunspot/lib/sunspot/type.rb', line 366 def cast(string) #:nodoc: Sunspot::Util.full_const_get(string) end |
- (Object) indexed_name(name)
:nodoc:
358 359 360 |
# File 'sunspot/lib/sunspot/type.rb', line 358 def indexed_name(name) #:nodoc: 'class_name' end |
- (Object) to_indexed(value)
:nodoc:
362 363 364 |
# File 'sunspot/lib/sunspot/type.rb', line 362 def to_indexed(value) #:nodoc: value.name end |