class Sunspot::Search::Spellcheck::Suggestions

TODO: Rename this, make it enumerable?

Attributes

misspelling[R]
suggestions[R]

Public Class Methods

new(misspelling, suggestions) click to toggle source
# File lib/sunspot_suggest/sunspot/search/abstract_search.rb, line 32
def initialize(misspelling, suggestions)
  @misspelling = misspelling
  # TODO: FIXME
  @suggestions = parse_suggestions(suggestions)
end

Private Instance Methods

parse_suggestions(suggestions) click to toggle source

TODO: FIXME

# File lib/sunspot_suggest/sunspot/search/abstract_search.rb, line 41
def parse_suggestions(suggestions)
  []
end