class Sunspot::Search::Spellcheck::Suggestion
Attributes
word[R]
Public Class Methods
new(word, freq = -1)
click to toggle source
# File lib/sunspot_suggest/sunspot/search/abstract_search.rb, line 49 def initialize(word, freq = -1) @word = word @freq = freq end
Public Instance Methods
to_s()
click to toggle source
# File lib/sunspot_suggest/sunspot/search/abstract_search.rb, line 54 def to_s @word end