Sha256: 5089d91c3a358754786ca2b6a0f0b2eeaad38b92d9f3f753de305c184c7f5550
Contents?: true
Size: 268 Bytes
Versions: 21
Compression:
Stored size: 268 Bytes
Contents
events = %w(render_template render_partial) events.each do |name| ActiveSupport::Notifications.subscribe "#{name}.action_view" do |*args| event = ActiveSupport::Notifications::Event.new(*args) gauge = Harness::Gauge.from_event event gauge.log end end
Version data entries
21 entries across 21 versions & 1 rubygems