Class: StyleScanner::SentenceScans::UselessWord
- Defined in:
- lib/style_scanner/sentence_scans/useless_word.rb
Constant Summary collapse
- USELESS_WORDS =
["extremely", "exceedingly", "quite", "remarkably", "surprisingly", "interestingly", "clearly", "very", "pretty" "fairly", "really"]
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/useless_word.rb', line 9 def scan USELESS_WORDS.each do |useless_word| create_problem(useless_word) if sentence.contains?(useless_word) end end |