Class: ThinkingSphinx::RealTime::Attribute
- Inherits:
-
Property
- Object
- Property
- ThinkingSphinx::RealTime::Attribute
show all
- Defined in:
- lib/thinking_sphinx/real_time/attribute.rb
Instance Attribute Summary
Attributes inherited from Property
#options
Instance Method Summary
collapse
Methods inherited from Property
#initialize, #name
#facet?
Instance Method Details
#multi? ⇒ Boolean
2
3
4
|
# File 'lib/thinking_sphinx/real_time/attribute.rb', line 2
def multi?
@options[:multi]
end
|
#translate(object) ⇒ Object
10
11
12
|
# File 'lib/thinking_sphinx/real_time/attribute.rb', line 10
def translate(object)
super || default_value
end
|
#type ⇒ Object
6
7
8
|
# File 'lib/thinking_sphinx/real_time/attribute.rb', line 6
def type
@options[:type]
end
|