Flowdock
method

instrument

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActionView::Template
instrument(action, &block) public

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/template.rb, line 344
      def instrument(action, &block)
        payload = { virtual_path: @virtual_path, identifier: @identifier }
        case action
        when "!render_template".freeze
          ActiveSupport::Notifications.instrument("!render_template.action_view".freeze, payload, &block)
        else
          ActiveSupport::Notifications.instrument("#{action}.action_view".freeze, payload, &block)
        end
      end
Register or log in to add new notes.