Class: StyleScanner::SentenceScans::PassiveTense
- Defined in:
- lib/style_scanner/sentence_scans/passive_tense.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#scan ⇒ Object
heuristic: A “BE” verb follwed by a verb other than a gerund.
Methods inherited from Base
Constructor Details
This class inherits a constructor from StyleScanner::SentenceScans::Base
Instance Method Details
#scan ⇒ Object
heuristic: A “BE” verb follwed by a verb other than a gerund
6 7 8 9 10 |
# File 'lib/style_scanner/sentence_scans/passive_tense.rb', line 6 def scan passives.each do |passive| create_problem(word_in_context(passive)) end end |