Sha256: 71ab87e2a05c180c2c896e7239fb0476d76d2655115637272bc294629590e33a
Contents?: true
Size: 336 Bytes
Versions: 4
Compression:
Stored size: 336 Bytes
Contents
require 'speed_gun/profiler/base' class SpeedGun::Profiler::ActionView < SpeedGun::Profiler::Base hook_method ::ActionView::Template, :render attr_reader :template_path alias_method :title, :template_path def before_profile(action_view, *args) @template_path = action_view.instance_variable_get(:@virtual_path) end end
Version data entries
4 entries across 4 versions & 1 rubygems