module DidYou

Very simple “did you mean” style suggestor, wrapping different versions of did_you_mean gem, both when bundled in Ruby (2.3+) and not bundled (2.1-2.2).

@example

DidYou::Spell.check('raise', %w[raise def class]) # => ["raise"]
DidYou::Spell.check('rais', %w[raise]) # => []

@see Spell.check