method

instrument

rails latest stable - Class: ActionView::AbstractRenderer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

instrument(name, **options)
private

No documentation available.

# File actionview/lib/action_view/renderer/abstract_renderer.rb, line 87
      def instrument(name, **options) # :doc:
        ActiveSupport::Notifications.instrument("render_#{name}.action_view", options) do |payload|
          yield payload
        end
      end