Class: MiniSearch::StripFilter
- Inherits:
-
Object
- Object
- MiniSearch::StripFilter
- Defined in:
- lib/mini_search/strip_filter.rb
Instance Method Summary collapse
Instance Method Details
#execute(tokens) ⇒ Object
5 6 7 |
# File 'lib/mini_search/strip_filter.rb', line 5 def execute(tokens) tokens.map(&:strip) end |