Class: StyleScanner::SentenceScans::ExcessWhiteSpace

Inherits:
Base
  • Object
show all
Defined in:
lib/style_scanner/sentence_scans/excess_white_space.rb

Instance Attribute Summary

Attributes inherited from Base

#sentence

Instance Method Summary collapse

Methods inherited from Base

#initialize, load_file, scan

Constructor Details

This class inherits a constructor from StyleScanner::SentenceScans::Base

Instance Method Details

#scanObject



5
6
7
8
9
# File 'lib/style_scanner/sentence_scans/excess_white_space.rb', line 5

def scan
  white_space_problems.each do |problem|
    create_problem(problem.post_match) 
  end
end