Class: ThinkingSphinx::Middlewares::UTF8
- Inherits:
-
Middleware
- Object
- Middleware
- ThinkingSphinx::Middlewares::UTF8
- Defined in:
- lib/thinking_sphinx/middlewares/utf8.rb
Instance Method Summary collapse
Methods inherited from Middleware
Constructor Details
This class inherits a constructor from ThinkingSphinx::Middlewares::Middleware
Instance Method Details
#call(contexts) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/thinking_sphinx/middlewares/utf8.rb', line 4 def call(contexts) contexts.each do |context| context[:results].each { |row| update_row row } update_row context[:meta] end app.call contexts end |