class RuboCop::Runner

Public Instance Methods

inspect_file(file) click to toggle source
# File lib/dirty/cop.rb, line 171
def inspect_file(file)
  offenses, updated = inspect_file_unpatched(file)
  offenses = offenses.reject { |o| DirtyCop.bury_evidence?(file.path, o.line) }
  [offenses, updated]
end
Also aliased as: inspect_file_unpatched
inspect_file_unpatched(file)
Alias for: inspect_file