Module: DidYou

Defined in:
lib/did_you.rb

Overview

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).

Examples:


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

See Also:

Defined Under Namespace

Modules: Spell