Method: Sunspot::DataExtractor::AttributeExtractor#value_for
- Defined in:
- lib/sunspot/data_extractor.rb
#value_for(object) ⇒ Object
16 17 18 |
# File 'lib/sunspot/data_extractor.rb', line 16 def value_for(object) object.send(@attribute_name) end |