Class: StyleScanner::SentenceScans::LatinAbbreviation
- Defined in:
- lib/style_scanner/sentence_scans/latin_abbreviation.rb
Constant Summary collapse
- LATINS =
["ie", "etc", "cf", "et cetera", "ergo", "c", "cf", "ibid", "dto", "et al", "et seq", "vs", "re", "nb"]
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
9 10 11 12 13 14 15 |
# File 'lib/style_scanner/sentence_scans/latin_abbreviation.rb', line 9 def scan dot_placement_permutations(LATINS).each do |latin_abbreviation| if sentence.contains?(latin_abbreviation) create_problem(latin_abbreviation) end end end |