Class: Sunspot::Type::AbstractType
- Inherits:
-
Object
- Object
- Sunspot::Type::AbstractType
show all
- Includes:
- Singleton
- Defined in:
- lib/sunspot/type.rb
Overview
Instance Method Summary
collapse
Instance Method Details
#accepts_dynamic? ⇒ Boolean
70
71
72
|
# File 'lib/sunspot/type.rb', line 70
def accepts_dynamic?
true
end
|
#accepts_more_like_this? ⇒ Boolean
74
75
76
|
# File 'lib/sunspot/type.rb', line 74
def accepts_more_like_this?
false
end
|
#to_literal(object) ⇒ Object
78
79
80
81
82
83
|
# File 'lib/sunspot/type.rb', line 78
def to_literal(object)
raise(
ArgumentError,
"#{self.class.name} cannot be used as a Solr literal"
)
end
|