class Sunspot::Query::Spellcheck
Attributes
options[RW]
Public Class Methods
new(options = {})
click to toggle source
# File lib/sunspot/query/spellcheck.rb, line 6 def initialize(options = {}) @options = options end
Public Instance Methods
to_params()
click to toggle source
# File lib/sunspot/query/spellcheck.rb, line 10 def to_params options = {} @options.each do |key, val| options["spellcheck." + Sunspot::Util.method_case(key.to_s)] = val end { :spellcheck => true }.merge(options) end