Sha256: 2b9fe6df49afee77ce50cd2204e0fe880bf845d7d262cbce841f1f020d7c47d8
Contents?: true
Size: 353 Bytes
Versions: 12
Compression:
Stored size: 353 Bytes
Contents
# frozen_string_literal: true module RailsMiniProfiler class InstantiationTracePresenter < TracePresenter def label "#{model.class_name} Instantiation" end def description record_string = 'Record'.pluralize(model.record_count) "Instantiated #{model.record_count} #{model.class_name} #{record_string}" end end end
Version data entries
12 entries across 12 versions & 1 rubygems