Class: StyleScanner::SentenceScans::SpeakingInGeneralities
- Defined in:
- lib/style_scanner/sentence_scans/speaking_in_generalities.rb
Constant Summary collapse
- GENERAL_WORDS =
["many", "various", "mostly", "largely", "huge", "a number", "significantly", "substantially", "vast", "relatively", "completely"]
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 |
# File 'lib/style_scanner/sentence_scans/speaking_in_generalities.rb', line 9 def scan GENERAL_WORDS.each do |useless_word| create_problem(useless_word) if sentence.contains?(useless_word) end end |