class method
DidYouMean::SpellChecker.new
(dictionary: ::Array[::interned]) -> ::DidYouMean::SpellChecker
new(dictionary:)
lib/did_you_mean/spell_checker.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/did_you_mean/spell_checker.rb, line 8
def initialize(dictionary:)
@dictionary = dictionary
end
No documentation available