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:
334 335 336 |
# File 'lib/sunspot/type.rb', line 334 def cast(string) #:nodoc: Sunspot::Util.full_const_get(string) end |
#indexed_name(name) ⇒ Object
:nodoc:
326 327 328 |
# File 'lib/sunspot/type.rb', line 326 def indexed_name(name) #:nodoc: 'class_name' end |
#to_indexed(value) ⇒ Object
:nodoc:
330 331 332 |
# File 'lib/sunspot/type.rb', line 330 def to_indexed(value) #:nodoc: value.name end |