Class: StyleScanner::SentenceScans::Spelling
- Defined in:
- lib/style_scanner/sentence_scans/spelling.rb
Constant Summary collapse
- DICTIONARY =
notice the way you don’t give hunspell any specific file so much as the name both the aff and dic file use
File.("../../../dictionaries/en_US", __FILE__)
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from StyleScanner::SentenceScans::Base
Instance Method Details
#scan ⇒ Object
8 9 10 11 12 |
# File 'lib/style_scanner/sentence_scans/spelling.rb', line 8 def scan mispellings.each do |mispelled_word| create_problem(mispelled_word) end end |