Class: StyleScanner::SentenceScans::UsedWordAlreadyInSentence
- Defined in:
- lib/style_scanner/sentence_scans/used_word_already_in_sentence.rb
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
5 6 7 8 9 |
# File 'lib/style_scanner/sentence_scans/used_word_already_in_sentence.rb', line 5 def scan repeated_words.each do |repeated_word| create_problem(repeated_word.word) end end |