Module: DidYou::Spell
- Defined in:
- lib/did_you.rb
Overview
See Spell.check
Defined Under Namespace
Classes: SpellChecker, SpellFinder
Class Method Summary collapse
-
.check(error, dictionary) ⇒ Array<String>
Checks mistyped word against provided dictionary.
Class Method Details
.check(error, dictionary) ⇒ Array<String>
Checks mistyped word against provided dictionary.
31 32 33 |
# File 'lib/did_you.rb', line 31 def check(error, dictionary) _check(error, dictionary) - [error] end |