Sha256: 65ae5b813a2d54783eadc7b0f4f365022b083a34b8c5472839e32cd3ec805f27
Contents?: true
Size: 455 Bytes
Versions: 7
Compression:
Stored size: 455 Bytes
Contents
module SystemMetrics module Instrument class ActionView < SystemMetrics::Instrument::Base def initialize super /\.action_view$/ end def prepare(event) event.payload.each do |key, value| case value when NilClass when String event.payload[key] = prune_path(value) else event.payload[key] = value end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems