Module: ActiveRecordQueryCount::Compare

Defined in:
lib/active_record_query_count/compare/comparator.rb

Defined Under Namespace

Classes: Comparator

Class Method Summary collapse

Class Method Details

.compare {|comparator| ... } ⇒ Object

Yields:

  • (comparator)


28
29
30
31
# File 'lib/active_record_query_count/compare/comparator.rb', line 28

def self.compare
  comparator = Comparator.new
  yield(comparator)
end