Sha256: ef6e8c3e21508c0f1e4b5898adee05f91e17edabe8b5fbc76bfc2e6ac4e57eb0

Contents?: true

Size: 759 Bytes

Versions: 28

Compression:

Stored size: 759 Bytes

Contents

require "skylight/normalizers/render"

module Skylight
  module Normalizers
    module ActionView
      # Normalizer for Rails partial rendering
      class RenderPartial < RenderNormalizer
        register "render_partial.action_view"

        CAT = "view.render.template".freeze

        # @param trace [Skylight::Messages::Trace::Builder] ignored, only present to match API
        # @param name [String] ignored, only present to match API
        # @param payload (see RenderNormalizer#normalize_render)
        # @option payload (see RenderNormalizer#normalize_render)
        # @return (see RenderNormalizer#normalize_render)
        def normalize(_trace, _name, payload)
          normalize_render(CAT, payload)
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
skylight-6.1.0.beta lib/skylight/normalizers/action_view/render_partial.rb
skylight-6.0.4 lib/skylight/normalizers/action_view/render_partial.rb
skylight-6.0.3 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.3.5 lib/skylight/normalizers/action_view/render_partial.rb
skylight-6.0.2 lib/skylight/normalizers/action_view/render_partial.rb
skylight-6.0.1 lib/skylight/normalizers/action_view/render_partial.rb
skylight-6.0.0 lib/skylight/normalizers/action_view/render_partial.rb
skylight-6.0.0.beta2 lib/skylight/normalizers/action_view/render_partial.rb
skylight-6.0.0.beta lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.3.4 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.3.3 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.3.2 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.3.1 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.3.0 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.2.0 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.2.0.beta2 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.2.0.beta lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.1.1 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.1.0.beta3 lib/skylight/normalizers/action_view/render_partial.rb
skylight-5.1.0.beta2 lib/skylight/normalizers/action_view/render_partial.rb