Method: Excite::Postprocessor#method_missing

Defined in:
lib/excite/postprocessor.rb

#method_missing(m, *args, &block) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/excite/postprocessor.rb', line 12

def method_missing(m, *args, &block)
  # Call normalize on any fields that don't have their own normalization
  # method defined
  if m.to_s =~ /^normalize/
    m.to_s =~ /normalize_(.*)$/
    normalize($1, *args)
  else super
  end
end