method

instrument

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: AbstractRenderer
instrument(name, **options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/renderer/abstract_renderer.rb, line 40
      def instrument(name, **options) # :doc:
        options[:identifier] ||= (@template && @template.identifier) || @path

        ActiveSupport::Notifications.instrument("render_#{name}.action_view", options) do |payload|
          yield payload
        end
      end
Register or log in to add new notes.