Class: ArQueryMatchers::Queries::LoadCounter

Inherits:
Object
  • Object
show all
Defined in:
lib/ar_query_matchers/queries/load_counter.rb

Overview

A specialized QueryCounter for “loads”. For more information, see the QueryCounter class.

Defined Under Namespace

Classes: LoadQueryFilter

Class Method Summary collapse

Class Method Details

.instrument(&block) ⇒ Object



13
14
15
# File 'lib/ar_query_matchers/queries/load_counter.rb', line 13

def self.instrument(&block)
  QueryCounter.new(LoadQueryFilter.new).instrument(&block)
end