Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
DidYouMean::TreeSpellChecker.new
new(dictionary:, separator: '/', augment: nil)
lib/did_you_mean/tree_spell_checker.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/did_you_mean/tree_spell_checker.rb, line 9
def initialize(dictionary:, separator: '/', augment: nil)
@dictionary = dictionary
@separator = separator
@augment = augment
end
No documentation available