Module: DatabaseConsistency::Processors

Defined in:
lib/database_consistency/processors/base_processor.rb,
lib/database_consistency/processors/columns_processor.rb,
lib/database_consistency/processors/validators_processor.rb,
lib/database_consistency/processors/associations_processor.rb

Overview

The module for processors

Defined Under Namespace

Classes: AssociationsProcessor, BaseProcessor, ColumnsProcessor, ValidatorsProcessor

Class Method Summary collapse

Class Method Details

.reports(configuration) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/database_consistency/processors/base_processor.rb', line 6

def self.reports(configuration)
  [
    ColumnsProcessor,
    ValidatorsProcessor,
    AssociationsProcessor
  ].flat_map do |processor|
    processor.new(configuration).reports
  end
end